Changeset 53804 for trunk/tests/phpunit/tests/hooks/iterator.php
- Timestamp:
- 07/31/2022 03:03:46 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/iterator.php
r52389 r53804 13 13 $callback_two = '__return_false'; 14 14 $hook = new WP_Hook(); 15 $ tag= __FUNCTION__;15 $hook_name = __FUNCTION__; 16 16 $priority = 1; 17 17 $accepted_args = 2; 18 18 19 $hook->add_filter( $ tag, $callback_one, $priority, $accepted_args );20 $hook->add_filter( $ tag, $callback_two, $priority + 1, $accepted_args );19 $hook->add_filter( $hook_name, $callback_one, $priority, $accepted_args ); 20 $hook->add_filter( $hook_name, $callback_two, $priority + 1, $accepted_args ); 21 21 22 22 $functions = array();
Note: See TracChangeset
for help on using the changeset viewer.