bbp_get_topic_admin_links

  • apply_filters( 'bbp_get_topic_admin_links', $r['before'] . $links . $r['after'], $args )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 2031
      			// Trash link shouldn't be visible on spam topics
      			elseif ( $topic_status == bbp_get_spam_status_id() )
      				unset( $r['links']['trash'] );
      		}
      
      		// Process the admin links
      		$links = implode( $r['sep'], array_filter( $r['links'] ) );
      
      		return apply_filters( 'bbp_get_topic_admin_links', $r['before'] . $links . $r['after'], $args );
      	}
      
      /**
       * Output the edit link of the topic
       *
       * @since bbPress (r2727)
       *
       * @param mixed $args See {@link bbp_get_topic_edit_link()}
       * @uses bbp_get_topic_edit_link() To get the topic edit link
       */
      

Comments are closed.