Warning: This method has been deprecated.

WP_Theme_JSON_Resolver::get_fields_to_translate(): array

Returns a data structure used in theme.json translation.


Return

array An array of theme.json fields that are translatable and the keys that are translatable.


Top ↑

Source

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

public static function get_fields_to_translate() {
	_deprecated_function( __METHOD__, '5.9.0' );
	return array();
}


Top ↑

Changelog

Changelog
Version Description
5.9.0 This method has been deprecated.
5.8.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.