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



wp_normalize_state_style_for_css_output › WordPress Function

Da7.1.0
Deprecaton/a
› wp_normalize_state_style_for_css_output ( $style )
Parametri:
  • (array) $style State style object.
    Richiesto: Sì
Ritorna:
  • (array) Normalized state style object.
Definito a:
Codex:

Normalizes a state style object before generating CSS declarations.



Sorgenti

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;
}