Skip to content

Commit

Permalink
Editor: Add description for Banners block pattern category.
Browse files Browse the repository at this point in the history
Follow-up to [55098].

Props parinpanjari, youknowriad, Joen, dhruvang21, apermo, mukesh27.
Fixes #62115.

git-svn-id: https://develop.svn.wordpress.org/trunk@59472 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Nov 29, 2024
1 parent ce4627f commit dfcdeaf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/wp-includes/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ function _register_core_block_patterns_and_categories() {
}
}

register_block_pattern_category( 'banner', array( 'label' => _x( 'Banners', 'Block pattern category' ) ) );
register_block_pattern_category(
'banner',
array(
'label' => _x( 'Banners', 'Block pattern category' ),
'description' => __( 'Bold sections designed to showcase key content.' ),
)
);
register_block_pattern_category(
'buttons',
array(
Expand Down

0 comments on commit dfcdeaf

Please sign in to comment.