mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Document the VALID_ORIGINS constant in WP_Theme_JSON.
Follow-up to [51149]. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@51152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ca539afd54
commit
ddd4ac93a1
@ -40,6 +40,12 @@ class WP_Theme_JSON {
|
||||
*/
|
||||
const ROOT_BLOCK_SELECTOR = 'body';
|
||||
|
||||
/**
|
||||
* The sources of data this object can represent.
|
||||
*
|
||||
* @since 5.8.0
|
||||
* @var array
|
||||
*/
|
||||
const VALID_ORIGINS = array(
|
||||
'core',
|
||||
'theme',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user