Functions
-
Finds a script module ID for the selected block metadata field. It detects when a path to file was provided and optionally finds a corresponding asset file with details necessary to register the script module under with an automatically generated module ID. It returns unprocessed script module ID otherwise.
-
functionregister_block_style()
Registers a new block style.
-
functionregister_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.
-
functionregister_block_template()
Register a block template.
-
functionregister_block_type()
Registers a block type. The recommended way is to register a block type using the metadata stored in the `block.json` file.
-
Registers a block type from the metadata stored in the `block.json` file.
-
functionregister_column_headers()
Register column headers for a particular screen.
-
functionregister_deactivation_hook()
Sets the deactivation hook for a plugin.
-
functionregister_default_headers()
Registers a selection of default headers to be displayed by the custom header admin UI.
-
functionregister_importer()
Registers importer for WordPress.
-
functionregister_initial_settings()
Registers default settings available in WordPress.
-
functionregister_new_user()
Handles registering a new user.
-
functionregister_post_meta()
Registers a meta key for posts.
-
functionregister_post_status()
Registers a post status. Do not use before init.
-
functionregister_post_type()
Registers a post type.
-
functionregister_rest_field()
Registers a new field on an existing WordPress object type.
-
functionregister_rest_route()
Registers a REST API route.
-
functionregister_setting()
Registers a setting and its data.
-
functionregister_sidebar_widget()
Register widget for sidebar with backward compatibility.
-
functionregister_taxonomy()
Creates or modifies a taxonomy object.
-
Adds an already registered taxonomy to an object type.
-
functionregister_term_meta()
Registers a meta key for terms.
-
functionregister_theme_directory()
Registers a directory that contains themes.
-
functionregister_theme_feature()
Registers a theme feature for use in add_theme_support().
-
functionregister_uninstall_hook()
Sets the uninstallation hook for a plugin.