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.
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_type_from_metadata
Registers a block type from metadata stored in the `block.json` file.
remove_block_asset_path_prefix
Removes the block asset’s path prefix if provided.
Advertisement
WP_Upgrader::download_package
Download a package.
WP_Debug_Data::debug_data
Static function for generating site debug data when required.
_register_core_block_patterns_and_categories
Registers the core block patterns and categories.
register_core_block_types_from_metadata
Registers core block types using metadata files.
Advertisement
wp_theme_auto_update_setting_template
Returns the JavaScript template used to display the auto-update setting for a theme.
theme_auto_update_setting_template
Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay).
allowed_options
Filters the allowed options list.
wp_is_auto_update_enabled_for_type
Checks whether auto-updates are enabled.
Advertisement
plugins_auto_update_enabled
Filters whether plugins auto-update is enabled.
themes_auto_update_enabled
Filters whether themes auto-update is enabled.
wp_get_auto_update_message
Determines the appropriate auto-update message to be displayed.