wppaste
WordPress

inject_ignored_hooked_blocks_metadata_attributes( stdClass $changes, WP_REST_Request $deprecated = null ): stdClass|WP_Error

Since
6.5.0
Source
wp-includes/block-template-utils.php:1700
Inject ignoredHookedBlocks metadata attributes into a template or template part.

Description

Given an object that represents a wp_template or wp_template_part post object prepared for inserting or updating the database, locate all blocks that have hooked blocks, and inject a metadata.ignoredHookedBlocks attribute into the anchor blocks to reflect the latter.

Compatibility

WordPress
since 6.5.0
PHP
7.4–8.6-dev
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.

Parameters

$changesstdClass
An object representing a template or template part prepared for inserting or updating the database.
$deprecatedWP_REST_Requestoptional
Deprecated. Not used.Default: null

Return value

stdClass|WP_Error
The updated object representing a template or template part.

Performance profile

How much work a call to inject_ignored_hooked_blocks_metadata_attributes() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.

Cost class
Heavy

Reaches the database via get_post().

Scaling
Constant

No loop in the body: the same number of instructions runs whatever you pass in.

Instructions
48–187

Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 221.

Plugin surface
None

Nothing here hands control to plugin code.

Called by
0

Nothing in core calls this; the cost is only what you spend yourself.

What it touches

  • querycontent queryget_post()called directly
  • serializeserialisationjson_decode()called directly
  • hookthird-party callbacksdo_action()one call below inject_ignored_hooked_blocks_metadata_attributes()
  • cacheobject cachewp_cache_add()one call below inject_ignored_hooked_blocks_metadata_attributes()
  • optionoption read or writeget_option()one call below inject_ignored_hooked_blocks_metadata_attributes()

Further down the call graph this can also reach transient. That is the worst case, several calls deep and usually down an error path, not what a normal call pays.

What one call costs · 120 distinct outcomes

One number would be a lie: the work depends on which branch runs. These are every distinct cost inject_ignored_hooked_blocks_metadata_attributes() can have, taken from its control-flow graph on PHP 8.5.

WhenInstructionsCalls it makes
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && is_wp_error()48–54get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && is_wp_error()51–53get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error()60–66get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error()63–65get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && is_wp_error()64–72get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && is_wp_error()67–71get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error()76–84get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error()79–83get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && !empty($post)79–90get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && empty($post)82–89get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && !empty($post)89–99get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error()91–102get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
108 further outcomes, up to 186 instructions
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)92–99get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && empty($post)92–98get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error()94–101get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)95–98get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && !empty($post) && !isset($terms)95–108get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && empty($post) && !isset($terms)98–107get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)99–106get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)100–109get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)100–107get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error()101–111get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)102–105get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)103–108get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)103–106get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error()104–110get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && !empty($post) && !isset($terms)105–117get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)107–116get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)107–114get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error()107–120get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)108–117get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)108–117get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && is_wp_error() && empty($post) && !isset($terms)108–116get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)110–115get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)110–113get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error()110–119get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)111–116get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)111–116get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)115–124get_hooked_blocks(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)115–124get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)116–127get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)116–125get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error()117–129get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)118–123get_hooked_blocks(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)118–123get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)119–126get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)119–124get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error()120–128get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), apply_block_hooks_to_content()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)123–134get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)123–132get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)123–135get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)124–135get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)126–133get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)126–131get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)126–134get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)127–134get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)130–142get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)131–142get_hooked_blocks(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)131–145get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)131–143get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)133–144get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)133–141get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)134–141get_hooked_blocks(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)134–144get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)134–142get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)136–143get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)138–152get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)138–150get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)139–153get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)139–153get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)140–151get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)141–154get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)141–152get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)141–151get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)141–149get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)142–152get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)142–152get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)143–150get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)144–153get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)144–151get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)146–160get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)146–160get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)147–163get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)147–161get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)148–161get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)148–159get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)149–162get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)149–162get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)149–159get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)149–159get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)150–162get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)150–160get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)151–160get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)151–158get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)152–161get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)152–161get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)154–170get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)154–168get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)155–171get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)156–169get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)156–169get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)157–172get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)157–170get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)157–169get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)157–167get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)158–170get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)159–168get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)159–168get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)160–171get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)160–169get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)162–178get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)164–179get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)164–177get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)165–180get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)165–177get_hooked_blocks(), get_post(), wp_is_post_revision(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && !isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)167–178get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && empty($ignored_hooked_blocks)167–176get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)168–179get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && !empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)172–187get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()
$deprecated === null && isset($changes) && !empty($hooked_blocks) && !$changes && !empty($changes) && empty($post) && !isset($terms) && !is_wp_error() && isset($post) && !empty($existing_ignored_hooked_blocks) && !empty($ignored_hooked_blocks)175–186get_hooked_blocks(), get_post(), wp_is_post_revision(), get_post(), array_merge(), get_the_terms(), is_wp_error(), current_time(), get_current_user_id(), get_the_terms(), is_wp_error(), _build_block_template_object_from_post_object(), is_wp_error(), get_post_meta(), json_decode(), get_comment_delimited_block_content(), apply_block_hooks_to_content(), remove_serialized_parent_block(), extract_serialized_parent_block(), parse_blocks(), wp_json_encode()

This body has more branch combinations than are worth enumerating, so the table covers the outcomes found first rather than every one that exists.

Across PHP versions

PHPCompiledExecutedBranchesNotes
8.6-dev22048–186231 fewer instruction than PHP 8.5
8.522148–18723
8.422148–18723
8.322148–18723
8.222148–18723
8.122148–187232 fewer instructions than PHP 7.4
7.422348–18923

An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.

Uses · 18

Show all 18

Source code

function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {	if ( null !== $deprecated ) {		_deprecated_argument( __FUNCTION__, '6.5.3' );	} 	if ( ! isset( $changes->post_content ) ) {		return $changes;	} 	$hooked_blocks = get_hooked_blocks();	if ( empty( $hooked_blocks ) && ! has_filter( 'hooked_block_types' ) ) {		return $changes;	} 	$meta  = $changes->meta_input ?? array();	$terms = $changes->tax_input ?? array(); 	if ( empty( $changes->ID ) ) {		// There's no post object for this template in the database for this template yet.		$post = $changes;	} else {		// Find the existing post object.		$post = get_post( $changes->ID ); 		// If the post is a revision, use the parent post's post_name and post_type.		$post_id = wp_is_post_revision( $post );		if ( $post_id ) {			$parent_post     = get_post( $post_id );			$post->post_name = $parent_post->post_name;			$post->post_type = $parent_post->post_type;		} 		// Apply the changes to the existing post object.		$post = (object) array_merge( (array) $post, (array) $changes ); 		$type_terms        = get_the_terms( $changes->ID, 'wp_theme' );		$terms['wp_theme'] = ! is_wp_error( $type_terms ) && ! empty( $type_terms ) ? $type_terms[0]->name : null;	} 	// Required for the WP_Block_Template. Update the post object with the current time.	$post->post_modified = current_time( 'mysql' ); 	/*	 * If the post_author is empty, set it to the current user. If it arrived as	 * an int (e.g. from a REST controller), normalize it to a string, since the	 * resulting object is passed to new WP_Post().	 */	if ( empty( $post->post_author ) ) {		$post->post_author = (string) get_current_user_id();	} elseif ( is_int( $post->post_author ) ) {		$post->post_author = (string) $post->post_author;	} 	if ( 'wp_template_part' === $post->post_type && ! isset( $terms['wp_template_part_area'] ) ) {		$area_terms                     = get_the_terms( $changes->ID, 'wp_template_part_area' );		$terms['wp_template_part_area'] = ! is_wp_error( $area_terms ) && ! empty( $area_terms ) ? $area_terms[0]->name : null;	} 	$template = _build_block_template_object_from_post_object( new WP_Post( $post ), $terms, $meta ); 	if ( is_wp_error( $template ) ) {		return $template;	} 	if ( 'wp_template_part' === $post->post_type ) {		$attributes                     = array();		$existing_ignored_hooked_blocks = isset( $post->ID ) ? get_post_meta( $post->ID, '_wp_ignored_hooked_blocks', true ) : ''; 		if ( ! empty( $existing_ignored_hooked_blocks ) ) {			$attributes['metadata'] = array(				'ignoredHookedBlocks' => json_decode( $existing_ignored_hooked_blocks, true ),			);		} 		$content               = get_comment_delimited_block_content(			'core/template-part',			$attributes,			$changes->post_content		);		$content               = apply_block_hooks_to_content( $content, $template, 'set_ignored_hooked_blocks_metadata' );

Changelog

Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/block-template-utils.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.