bp_current_component

  • apply_filters( 'bp_current_component', $current_component )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 553
      	return apply_filters( 'bp_ajax_querystring', $bp->ajax_querystring, $object );
      }
      
      /** Template Classes and _is functions ****************************************/
      
      function bp_current_component() {
      	global $bp;
      	$current_component = !empty( $bp->current_component ) ? $bp->current_component : false;
      	return apply_filters( 'bp_current_component', $current_component );
      }
      
      function bp_current_action() {
      	global $bp;
      	$current_action = !empty( $bp->current_action ) ? $bp->current_action : false;
      	return apply_filters( 'bp_current_action', $current_action );
      }
      
      function bp_current_item() {
      	global $bp;
      

Comments are closed.