bp_current_action

  • apply_filters( 'bp_current_action', $current_action )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 559
      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;
      	$current_item = !empty( $bp->current_item ) ? $bp->current_item : false;
      	return apply_filters( 'bp_current_item', $current_item );
      }
      
      /**
       * Return the value of $bp->action_variables
      

Comments are closed.