WP_Theme_JSON_Resolver::get_fields_to_translate(): array

In this article

This method has been deprecated.

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.

Source

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

Changelog

VersionDescription
5.9.0This method has been deprecated.
5.8.0Introduced.

User Contributed Notes

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