wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



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

Funktionen5
Layout block support flag.


Funktion Kurzbeschreibung
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.