wp_get_layout_style


wp_get_layout_style ( $selector, $layout, $has_block_gap_support = false )

Access:
  • private
Parameters:
  • (string) selector CSS selector.
  • (array) layout Layout object. The one that is passed has already checked the existance of default block layout.
  • (bool) has_block_gap_support Whether the theme has support for the block gap.
Returns:
  • (string) CSS style.
Defined at:

Description

Generates the CSS corresponding to the provided layout.

Related Functions

wp_get_global_styles, wp_default_styles, wp_get_document_title, wp_get_global_stylesheet, wp_get_ext_types

Top Google Results

User discussions

wpseek mobile