You appear to be a bot. Output may be restricted
Description
Usage
Tests_Actions::action_that_manipulates_a_running_hook( $tag, $mocks );
Parameters
- $tag
- ( mixed ) required –
- $mocks
- ( mixed ) required –
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/actions.php
Lines:
1 to 7 of 7
public function action_that_manipulates_a_running_hook( $tag, $mocks ) { remove_action( $tag, array( $mocks[1], 'action' ), 12, 2 ); add_action( $tag, array( $mocks[2], 'action' ), 12, 2 ); add_action( $tag, array( $mocks[3], 'action' ), 13, 2 ); add_action( $tag, array( $mocks[4], 'action' ), 10, 2 ); }