Unregisters a pattern.
register_block_pattern
Registers a new pattern.
unregister_block_pattern_category
Unregisters a pattern category.
register_block_pattern_category
Registers a new pattern category.
Advertisement
wp_cache_get_multiple
Retrieves multiple values from the cache in one call.
register_block_type_from_metadata
Registers a block type from metadata stored in the `block.json` file.
register_block_style_handle
Finds a style handle for the block metadata field. It detects when a path to file was provided and registers the style under automatically generated handle name. It returns unprocessed style handle otherwise.
register_block_script_handle
Finds a script handle for the selected block metadata field. It detects when a path to file was provided and finds a corresponding asset file with details necessary to register the script under automatically generated handle name. It returns unprocessed script handle otherwise.
Advertisement
generate_block_asset_handle
Generates the name for an asset based on the name of the block and the field name provided.
remove_block_asset_path_prefix
Removes the block asset’s path prefix if provided.
block_core_latest_posts_migrate_categories
Handles outdated versions of the `core/latest-posts` block by converting attribute `categories` from a numeric string to an array with key `id`.
register_core_block_types_from_metadata
Registers core block types using metadata files.
Advertisement
_register_core_block_patterns_and_categories
Registers the core block patterns and categories.
wp_theme_auto_update_setting_template
Returns the JavaScript template used to display the auto-update setting for a theme.
wp_get_auto_update_message
Determines the appropriate auto-update message to be displayed.