Changeset 57627 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 02/13/2024 03:10:21 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r57558 r57627 753 753 add_action( 'init', '_wp_register_default_font_collections' ); 754 754 755 // It might be nice to use a filter instead of an action, but the `WP_REST_Templates_Controller` doesn't 756 // provide one (unlike e.g. `WP_REST_Posts_Controller`, which has `rest_pre_insert_{$this->post_type}`). 757 add_action( 'rest_after_insert_wp_template', 'inject_ignored_hooked_blocks_metadata_attributes', 10, 3 ); 758 add_action( 'rest_after_insert_wp_template_part', 'inject_ignored_hooked_blocks_metadata_attributes', 10, 3 ); 759 755 760 unset( $filter, $action );
Note: See TracChangeset
for help on using the changeset viewer.