Changeset 52389 for trunk/tests/phpunit/tests/hooks/removeAllFilters.php
- Timestamp:
- 12/19/2021 01:42:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/removeAllFilters.php
r50342 r52389 13 13 $hook = new WP_Hook(); 14 14 $tag = __FUNCTION__; 15 $priority = rand( 1, 100 );16 $accepted_args = rand( 1, 100 );15 $priority = 1; 16 $accepted_args = 2; 17 17 18 18 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); … … 28 28 $hook = new WP_Hook(); 29 29 $tag = __FUNCTION__; 30 $priority = rand( 1, 100 );31 $accepted_args = rand( 1, 100 );30 $priority = 1; 31 $accepted_args = 2; 32 32 33 33 $hook->add_filter( $tag, $callback_one, $priority, $accepted_args );
Note: See TracChangeset
for help on using the changeset viewer.