bp_is_action_variable

  • apply_filters( 'bp_is_action_variable', $is_action_variable, $action_variable, $position )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 868
      			// If no $action_variable is provided, we are essentially checking to see
      			// whether the slot is empty
      			$is_action_variable = !bp_action_variable( $position );
      		}
      	} else {
      		// When no $position is specified, check the entire array
      		$is_action_variable = in_array( $action_variable, (array)bp_action_variables() );
      	}
      
      	return apply_filters( 'bp_is_action_variable', $is_action_variable, $action_variable, $position );
      }
      
      function bp_is_current_item( $item = '' ) {
      	if ( !empty( $item ) && $item == bp_current_item() )
      		return true;
      
      	return false;
      }
      
      function bp_is_single_item() {
      

Comments are closed.