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



wp_normalize_state_style_for_css_output › WordPress Function

Seit7.1.0
Veraltetn/v
wp_normalize_state_style_for_css_output ( $style )
Parameter:
  • (array) $style State style object.
    Erforderlich: Ja
Gibt zurück:
  • (array) Normalized state style object.
Definiert in:
Codex:

Normalizes a state style object before generating CSS declarations.



Quellcode

function wp_normalize_state_style_for_css_output( $style ) {
	// Layout is processed separately by wp_render_layout_support_flag(), so we remove it before declaration generation.
	unset( $style['layout'] );
	$style = wp_normalize_state_preset_vars( $style );
	return $style;
}