unregister_block_template


unregister_block_template ( $template_name )

Parameters:
  • (string) template_name Template name in the form of `plugin_uri//template_name`.
Returns:
  • (WP_Block_Template|WP_Error) The unregistered template object on success, WP_Error object on failure or if the template doesn't exist.
Defined at:

Description

Unregister a block template.

Related Functions

register_block_template, unregister_block_type, unregister_block_style, register_block_type, resolve_block_template

Top Google Results

User discussions

wpseek mobile