bp_action_variable

  • apply_filters( 'bp_action_variable', $action_variable, $position )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 594
       * @since 1.5
       *
       * @param int $position The key of the action_variables array that you want
       * @return str $action_variable The value of that position in the array
       */
      function bp_action_variable( $position = 0 ) {
      	$action_variables = bp_action_variables();
      	$action_variable  = isset( $action_variables[$position] ) ? $action_variables[$position] : false;
      
      	return apply_filters( 'bp_action_variable', $action_variable, $position );
      }
      
      function bp_root_domain() {
      	echo bp_get_root_domain();
      }
      	function bp_get_root_domain() {
      		global $bp;
      
      		if ( isset( $bp->root_domain ) && !empty( $bp->root_domain ) ) {
      			$domain = $bp->root_domain;
      

Comments are closed.