Changeset 44812 for trunk/tests/phpunit/includes/functions.php
- Timestamp:
- 03/07/2019 11:53:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r44701 r44812 238 238 function _unhook_block_registration() { 239 239 remove_action( 'init', 'register_block_core_archives' ); 240 remove_action( 'init', 'register_block_core_calendar' ); 240 241 remove_action( 'init', 'register_block_core_categories' ); 241 242 remove_action( 'init', 'register_block_core_latest_posts' ); 243 remove_action( 'init', 'register_block_core_rss' ); 244 remove_action( 'init', 'register_block_core_search' ); 242 245 remove_action( 'init', 'register_block_core_shortcode' ); 246 remove_action( 'init', 'register_block_core_tag_cloud' ); 243 247 } 244 248 tests_add_filter( 'init', '_unhook_block_registration', 1000 );
Note: See TracChangeset
for help on using the changeset viewer.