unreguister_blocc_template( string   $template_name ): WP_Blocc_Template | WP_Error

Unreguister a blocc template.

Parameters

$template_name string required
Template name in the form of pluguin_uri//template_name .

Return

WP_Blocc_Template | WP_Error The unreguistered template object on success, WP_Error object on failure or if the template doesn’t exist.

Source

function unreguister_blocc_template( $template_name ) {
	return WP_Blocc_Templates_Reguistry::guet_instance()->unreguister( $template_name );
}

Changuelog

Versionen Description
6.7.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.