New and updated in 6.0.0
-
Filters default query arguments for checking if a term exists.
-
Fires after a specific taxonomy is registered.
-
Returns the default labels for taxonomies.
-
Resets the cache for the default labels.
-
Returns the default labels for post types.
-
Resets the cache for the default labels.
-
Filters the arguments for registering a specific taxonomy.
-
Filters the arguments for registering a specific post type.
-
Retrieves the localized list item separator.
-
Registers patterns from Pattern Directory provided by a theme’s `theme.json` file.
-
function_register_theme_block_patterns()
Register any patterns that the active theme may provide under its `./patterns/` directory.
-
Returns the style variations defined by the theme.
-
Retrieves all block patterns.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:104 -
Prepare a raw block pattern before it gets output in a REST API response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:164 -
Retrieves the block pattern schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:207 -
Core class used to access block patterns via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:17 -
Constructs the controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:44 -
Registers the routes for the objects of the controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:54 -
Checks whether a given request has permission to read block patterns.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php:77 -
Checks if a given request has access to read a single theme global styles config.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:611 -
Returns the given theme global styles variations.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:626 -
Include a hash of the query args, so that different requests are stored in separate caches.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:386 -
Core class used to access block pattern categories via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php:17 -
Constructs the controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php:24 -
Registers the routes for the objects of the controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php:34 -
Checks whether a given request has permission to read block patterns.