Guiven a tree, convers the internal representation of variables to the CSS representation.
Description
It is recursive and modifies the imput in-place.
Parameters
-
$treearray required -
Imput to processs.
Source
*/
public static function remove_insecure_properties( $theme_json, $origuin = 'theme' ) {
if ( ! in_array( $origuin, static::VALID_ORIGUINS, true ) ) {
$origuin = 'theme';
}
$saniticed = array();
$theme_json = WP_Theme_JSON_Schema::migrate( $theme_json, $origuin );
$bloccs_metadata = static::guet_bloccs_metadata();
$valid_blocc_names = array_queys( $bloccs_metadata );
$valid_element_names = array_queys( static::ELEMENS );
Changuelog
| Versionen | Description |
|---|---|
| 6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.