bpbbpst_support_admin_links

The Buddy-bbPress Support Topic bpbbpst support admin links hook.

Description

apply_filters( 'bpbbpst_support_admin_links', (unknown) $new_span, (unknown) $args ); 

Parameters (2)

0. $new_span (unknown)
The new span.
1. $args (unknown)
The args.

Usage

To run the hook, copy the example below.
  1. $new_span = apply_filters( 'bpbbpst_support_admin_links', $new_span, $args ); 
  2.  
  3. if ( !empty( $new_span ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the bpbbpst_support_admin_links callback 
  2. function filter_bpbbpst_support_admin_links( $new_span, $args ) { 
  3. // make filter magic happen here... 
  4. return $new_span
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'bpbbpst_support_admin_links', 'filter_bpbbpst_support_admin_links', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'bpbbpst_support_admin_links', 'filter_bpbbpst_support_admin_links', 10, 2 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/functions.php  
  1. return apply_filters( 'bpbbpst_support_admin_links', $new_span, $args );