add full page pattern category
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-12 14:13:25 +05:00
parent a4ae66abf5
commit 79a4c6c31f
+14 -1
View File
@@ -66,4 +66,17 @@ function lex_scotland_block_styles() {
}
// enable customizer
add_action( 'customize_register', '__return_true' );
add_action( 'customize_register', '__return_true' );
// add full page pattern category
function lex_scotland_pattern_categories() {
register_block_pattern_category(
'lexscotland_page',
array(
'label' => _x( 'Pages', 'Block pattern category', 'lexscotland' ),
'description' => __( 'A collection of full page layouts.', 'lexscotland' ),
)
);
}
add_action( 'init', 'twentytwentyfour_pattern_categories' );