New and updated in 5.9.0
-
functionis_post_status_viewable()
Determines whether a post status is considered “viewable”.
-
functionclean_dirsize_cache()
Cleans directory size cache used by recurse_dirsize().
-
Parse block metadata for a block, and prepare it for an API response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php:118 -
Prepares a block type object for serialization.
Used by 2 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php:249 -
Filters the default context provided to a rendered block.
-
Registers a block type from the metadata stored in the `block.json` file.
-
Gets a URL list for a taxonomy sitemap.
Used by 0 functions | Uses 7 functions | Source: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php:61 -
Gets the max number of pages available for the object type.
Used by 0 functions | Uses 4 functions | Source: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php:147 -
Gets a URL list for a post type sitemap.
Used by 0 functions | Uses 9 functions | Source: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php:64 -
Gets the max number of pages available for the object type.
Used by 0 functions | Uses 4 functions | Source: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php:181 -
hookpre_render_block
Allows render_block() to be short-circuited, by returning a non-null value.
-
Filters the block being rendered in render_block(), before it’s processed.
-
Prepares a single search result for response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:195 -
Prepares a single theme output for response.
Used by 2 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:233 -
Prepares the revision for the REST response.
Used by 3 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:447 -
Constructor.
-
hookrender_block
Filters the content of a single block.
-
Sanitize a value based on a schema.
-
Prepares a single user output for response.
Used by 6 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php:998 -
Prepares the revision for the REST response.
Used by 3 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:569 -
Prepares a post status object for serialization.
Used by 2 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:222 -
Prepares a single post output for response.
Used by 6 functions | Uses 28 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1817 -
Prepares a taxonomy object for serialization.
Used by 2 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php:209 -
Retrieves the taxonomy’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php:322 -
Prepares a post type object for serialization.
Used by 2 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:177 -
Retrieves the post type’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:311 -
Prepares a single comment output for response.
Used by 5 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1040 -
Validate a received value for being valid CSS.
Used by 0 functions | Uses 2 functions | Source: wp-includes/customize/class-wp-customize-custom-css-setting.php:160