bp_admin_display_directory_states

bp_admin_display_directory_states

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: buddypress.11.4.0

apply_filters('bp_admin_display_directory_states') is found 1 times:

  • /bp-core/admin/bp-core-admin-actions.php line 262
    	 *
    	 * @param array    $value An empty array.
    	 * @param WP_Post  $post  The current post object.
    	 */
    	$directory_page_states = apply_filters( 'bp_admin_display_directory_states', array(), $post );
    
    	if ( $directory_page_states ) {
    		$post_states = array_merge( $post_states, $directory_page_states );
    	}
    
    	return $post_states;
    

See this hook used in plugins: