Using WordPress ‘register_theme_feature()’ PHP function
Registers a theme feature for use in add_theme_support() .
Registers a theme feature for use in add_theme_support() .
Adds an already registered taxonomy to an object type.
Builds the definition for a single sidebar and returns the ID.
Registers a new field on an existing WordPress object type.
Registers a selection of default headers to be displayed by the custom header admin UI.
Registers a block type from the metadata stored in the block.json file.
Registers a block type. The recommended way is to register a block type using the metadata stored in the block.json file.
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…
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…