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



wp_get_layout_child_values › WordPress Function

Da7.1.0
Deprecaton/a
› wp_get_layout_child_values ( $layout )
Parametri:
  • (mixed) $layout Layout object.
    Richiesto: Sì
Ritorna:
  • (array) Child layout values, or an empty array.
Definito a:
Codex:

Returns the child-layout-only subset of a layout object.



Sorgenti

function wp_get_layout_child_values( $layout ) {
	if ( ! is_array( $layout ) ) {
		return array();
	}

	return array_intersect_key(
		$layout,
		array_flip( array( 'selfStretch', 'flexSize', 'columnStart', 'columnSpan', 'rowStart', 'rowSpan' ) )
	);
}