render_block_core_post_featured_image( array $attributes, string $content, WP_Block $block ): string
- Since
- 5.8.0
- Source
wp-includes/blocks/post-featured-image.php:18
core/post-featured-image block on the server.Compatibility
- WordPress
- since 5.8.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
$attributesarray- Block attributes.
$contentstring- Block default content.
$blockWP_Block- Block instance.
Return value
string- Returns the featured image for the current post.
Performance profile
How much work a call to render_block_core_post_featured_image() 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
- Scaling
- Scales with input
- Instructions
- 51–192
- Plugin surface
- None
- Called by
- 0
Reaches the database via get_post().
The body loops, so the work grows with what you pass in.
Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 258.
Nothing here hands control to plugin code.
Nothing in core calls this; the cost is only what you spend yourself.
What it touches
- querycontent query
get_post()called directly - hookthird-party callbacks
apply_filters()one call below render_block_core_post_featured_image()
Further down the call graph this can also reach option, cache, serialize and transient. Those are the worst case, several calls deep and usually down an error path, not what a normal call pays.
What one call costs · 160 distinct outcomes
One number would be a lie: the work depends on which branch runs. These are every distinct cost render_block_core_post_featured_image() can have, taken from its control-flow graph on PHP 8.5.
| When | Instructions | Calls it makes |
|---|---|---|
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 51–61 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 60–70 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 61–69 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 62–72 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 66–76 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 70–80 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 71–81 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 72–80 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 72–79 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 75–85 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 76–84 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 77–87 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
148 further outcomes, up to 192 instructions
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 81–91 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 81–90 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 82–93 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 82–88 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 83–90 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 84–94 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 85–95 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 86–96 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 87–95 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 87–94 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 91–101 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 91–102 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 91–99 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 92–101 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 92–101 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 93–103 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 93–104 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 93–99 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 94–102 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 94–107 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 96–106 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 96–105 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 97–103 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 98–105 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 99–109 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 100–110 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 101–109 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 101–112 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 102–113 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 102–110 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 103–113 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 103–114 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 103–116 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 103–112 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 103–111 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 104–115 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 105–118 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && empty($value) | 105–112 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 106–116 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 106–114 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 107–116 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 108–118 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 108–114 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 109–117 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 110–120 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 112–123 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 112–123 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 112–119 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 112–122 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 113–122 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 113–126 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 113–120 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 114–125 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 114–127 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($attributes) && !empty($value) | 114–123 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 114–122 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 115–125 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 115–126 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 115–126 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 115–121 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 115–125 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 116–124 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 117–125 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 118–128 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && !->next_tag() | 120–127 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 121–130 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 122–133 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 122–133 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && !$attributes && empty($value) | 122–128 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 122–131 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 123–134 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 123–133 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 124–135 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 124–133 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 124–137 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 124–132 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 124–132 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 124–136 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 124–131 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 125–135 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 125–134 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 125–134 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 126–136 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 127–140 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 127–134 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && !->next_tag() | 129–138 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 130–136 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 131–142 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !$attributes && !empty($value) | 131–139 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 132–141 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 133–144 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 133–143 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 133–142 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 134–147 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 134–145 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 134–141 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 134–145 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 135–143 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 135–147 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 136–147 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 136–149 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 136–145 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && empty($attr) | 136–144 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 136–145 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 137–148 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && !->next_tag() | 137–143 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 139–147 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 141–152 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 143–154 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 143–156 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 143–151 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 143–152 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 144–154 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 144–155 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 145–156 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && empty($attr) | 145–155 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 145–152 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 145–156 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 146–155 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 146–159 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && !->next_tag() | 146–154 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 146–153 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) | 148–158 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 152–163 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 152–162 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 153–162 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 153–166 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && empty($attr) | 153–160 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 154–163 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 155–166 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 155–165 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 155–164 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 157–165 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 157–169 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 158–167 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 162–173 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && empty($attr) | 162–171 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 164–172 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 164–176 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) | 165–174 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 166–176 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 167–174 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 167–178 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 173–183 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 174–181 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) | 174–185 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 176–185 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
isset($value) && !isset($attributes) && !empty($value) && ->next_tag() && !empty($attr) && is_string($existing_style) && $existing_style !== "" | 183–192 | get_block_core_post_featured_image_border_attributes(), get_block_core_post_featured_image_overlay_element_markup(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), safecss_filter_attr(), esc_attr(), shadow(), get_the_post_thumbnail(), get_post(), wp_style_engine_get_styles(), ->next_tag(), ->next_tag(), ->get_attribute_names_with_prefix(), ->get_attribute(), rtrim(), ->set_attribute(), ->get_updated_html(), esc_attr(), get_the_permalink(), esc_url(), esc_attr(), sprintf(), get_block_wrapper_attributes() |
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
| PHP | Compiled | Executed | Branches | Notes |
|---|---|---|---|---|
| 8.6-dev | 258 | 51–192 | 30 | |
| 8.5 | 258 | 51–192 | 30 | |
| 8.4 | 258 | 51–192 | 30 | 2 fewer instructions than PHP 8.3 |
| 8.3 | 260 | 51–192 | 30 | |
| 8.2 | 260 | 51–192 | 30 | |
| 8.1 | 260 | 51–192 | 30 | 3 fewer instructions than PHP 7.4 |
| 7.4 | 263 | 51–195 | 30 |
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 · 13
- get_block_core_post_featured_image_border_attributes()Generates class names and styles to apply the border support styles for the Post Featured Image block.
- get_block_core_post_featured_image_overlay_element_markup()Generate markup for the HTML element that will be used for the overlay.
- get_the_title()Retrieves the post title.
- __()Retrieves the translation of $text.
- esc_attr()Escaping for HTML attributes.
- safecss_filter_attr()Filters an inline style attribute and removes disallowed rules.
- wp_style_engine_get_styles()Global public interface method to generate styles from a single style object, e.g. the value of a block's attributes.style object or the top level styles in theme.json.
- get_the_post_thumbnail()Retrieves the post thumbnail.
- get_post()Retrieves post data given a post ID or post object.
- esc_url()Checks and cleans a URL.
- get_the_permalink()Retrieves the full permalink for the current post or post ID.
- get_block_wrapper_attributes()Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.
Show all 13
- WP_HTML_Tag_Processor::__construct()Constructor.
Source code
function render_block_core_post_featured_image( $attributes, $content, $block ) { if ( ! isset( $block->context['postId'] ) ) { return ''; } $post_ID = $block->context['postId']; $is_link = isset( $attributes['isLink'] ) && $attributes['isLink']; $size_slug = $attributes['sizeSlug'] ?? 'post-thumbnail'; $attr = get_block_core_post_featured_image_border_attributes( $attributes ); $overlay_markup = get_block_core_post_featured_image_overlay_element_markup( $attributes ); if ( $is_link ) { $title = get_the_title( $post_ID ); if ( $title ) { $attr['alt'] = trim( strip_tags( $title ) ); } else { $attr['alt'] = sprintf( // translators: %d is the post ID. __( 'Untitled post %d' ), $post_ID ); } } $extra_styles = ''; $has_width = array_key_exists( 'width', $attributes ) && null !== $attributes['width'] && '' !== $attributes['width']; $has_height = array_key_exists( 'height', $attributes ) && null !== $attributes['height'] && '' !== $attributes['height']; if ( ! empty( $attributes['aspectRatio'] ) ) { // If there's no non-default value set, let the image's width and height attributes determine its intrinsic aspect ratio. if ( 'auto' !== $attributes['aspectRatio'] ) { $extra_styles .= esc_attr( safecss_filter_attr( 'aspect-ratio:' . $attributes['aspectRatio'] ) ) . ';'; } $extra_styles .= 'width:100%;'; } if ( $has_height ) { $extra_styles .= esc_attr( safecss_filter_attr( 'height:' . $attributes['height'] ) ) . ';'; } elseif ( $has_width ) { $extra_styles .= 'height:auto;'; } if ( $has_width ) { $extra_styles .= esc_attr( safecss_filter_attr( 'width:' . $attributes['width'] ) ) . ';'; } if ( ! empty( $attributes['scale'] ) ) { $extra_styles .= esc_attr( safecss_filter_attr( 'object-fit:' . $attributes['scale'] ) ) . ';'; } if ( ! empty( $attributes['style']['shadow'] ) ) { $shadow_styles = wp_style_engine_get_styles( array( 'shadow' => $attributes['style']['shadow'] ) ); if ( ! empty( $shadow_styles['css'] ) ) { $extra_styles .= $shadow_styles['css']; } } if ( ! empty( $extra_styles ) ) { $attr['style'] = empty( $attr['style'] ) ? $extra_styles : $attr['style'] . $extra_styles; } $featured_image = get_the_post_thumbnail( $post_ID, $size_slug, $attr ); // Get the first image from the post. if ( $attributes['useFirstImageFromPost'] && ! $featured_image ) { $content_post = get_post( $post_ID ); $content = $content_post->post_content; $processor = new WP_HTML_Tag_Processor( $content ); /* * Transfer the image tag from the post into a new text snippet. * Because the HTML API doesn't currently expose a way to extract * HTML substrings this is necessary as a workaround. Of note, this * is different than directly extracting the IMG tag: * - If there are duplicate attributes in the source there will only be one in the output. * - If there are single-quoted or unquoted attributes they will be double-quoted in the output. * - If there are named character references in the attribute values they may be replaced with their direct code points. E.g. `…` becomes `…`. * In the future there will likely be a mechanism to copy snippets of HTML from * one document into another, via the HTML Processor's `get_outer_html()` or * equivalent. When that happens it would be appropriate to replace this customChangelog
Introduced in 5.8.0. Unchanged from 6.7.7 through 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/blocks/post-featured-image.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.