add full page pattern category
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a4ae66abf5
commit
79a4c6c31f
@ -67,3 +67,16 @@ function lex_scotland_block_styles() {
|
||||
|
||||
// enable customizer
|
||||
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' );
|
Loading…
Reference in New Issue
Block a user