You appear to be a bot. Output may be restricted
Description
Usage
Tests_Hooks_DoAction::_filter_do_action_doesnt_change_value2( $value );
Parameters
- $value
- ( mixed ) required –
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/hooks/doAction.php
Lines:
1 to 14 of 14
public function _filter_do_action_doesnt_change_value2( $value ) { $this->hook->remove_filter( 'do_action_doesnt_change_value', array( $this, '_filter_do_action_doesnt_change_value2' ), 10 ); $this->action_output .= '-'; $this->hook->do_action( array( 'b' ) ); $this->action_output .= '-'; $this->hook->add_filter( 'do_action_doesnt_change_value', array( $this, '_filter_do_action_doesnt_change_value2' ), 10, 1 ); $this->action_output .= $value . 2; return 'x2'; }