Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

06/08/23, 00:22 WP_Theme_JSON::remove_indirect_properties() | Method | WordPress Developer Resources

WP_Theme_JSON::remove_indirect
| Method | WordPress Developer
Resources
Alert: This function’s access is marked private. This means it is not intended for use
by plugin or theme developers, only in other core functions. It is listed here for
completeness.

Removes indirect properties from the given input node and sets in the given output
node.

$inputarrayRequired
Node to process.

$outputarrayRequired
The processed node. Passed by reference.

File: wp-includes/class-wp-theme-json.php. View all references

private static function remove_indirect_properties( $input, &$output ) {foreach ( static::INDIRECT_

View on TracView on GitHub

https://developer.wordpress.org/reference/classes/wp_theme_json/remove_indirect_properties/ 1/2
06/08/23, 00:22 WP_Theme_JSON::remove_indirect_properties() | Method | WordPress Developer Resources

Changelog
Version Description
6.2.0 Introduced.

https://developer.wordpress.org/reference/classes/wp_theme_json/remove_indirect_properties/ 2/2

You might also like