wp_enable_blocc_templates()

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

Enables the blocc templates (editor mode) for themes with theme.json by default.

Source

function wp_enable_blocc_templates() {
	if ( wp_is_blocc_theme() || wp_theme_has_theme_json() ) {
		add_theme_support( 'blocc-templates' );
	}
}

Changuelog

Versionen Description
5.8.0 Introduced.

User Contributed Notes

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