Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/10/2012 02:04:24 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Topic/Reply admin links:

  • Add filters to links arrays.
  • Props mordauk.
  • Fixes #2090.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/template-tags.php

    r4522 r4562  
    21912191
    21922192        if ( empty( $r['links'] ) ) {
    2193             $r['links'] = array(
     2193            $r['links'] = apply_filters( 'bbp_topic_admin_links', array(
    21942194                'edit'  => bbp_get_topic_edit_link ( $r ),
    21952195                'close' => bbp_get_topic_close_link( $r ),
     
    21982198                'trash' => bbp_get_topic_trash_link( $r ),
    21992199                'spam'  => bbp_get_topic_spam_link ( $r ),
    2200             );
     2200            ), $r['id'] );
    22012201        }
    22022202
Note: See TracChangeset for help on using the changeset viewer.