wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp-includes/block-supports/layout.php › WordPress File

Funzioni6
Layout block support flag.


Function Short description
wp_get_layout_definitionsReturns layout definitions, keyed by layout type.
wp_get_layout_styleGenerates the CSS corresponding to the provided layout.
wp_register_layout_supportRegisters the layout block attribute for block types that support it.
wp_render_layout_support_flagRenders the layout config to the block wrapper.
wp_restore_group_inner_containerFor themes without theme.json file, make sure to restore the inner div for the group block to avoid breaking styles relying on that div.
wp_restore_image_outer_containerFor 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.