wp_restore_image_outer_container


wp_restore_image_outer_container ( $block_content, $block )

Access:
  • private
Parameters:
  • (string) block_content Rendered block content.
  • (array) block Block object.
Returns:
  • (string) Filtered block content.
Defined at:

Description

For themes without theme.json file, make sure to restore the outer div for the aligned image block to avoid breaking styles relying on that div.

Related Functions

wp_restore_group_inner_container, wp_restore_image, rest_get_route_for_term, wp_create_image_subsizes, wp_is_large_user_count

Top Google Results

User discussions

wpseek mobile