Skip to content

Commit

Permalink
add WPCS comments to block-styles file
Browse files Browse the repository at this point in the history
  • Loading branch information
francgrasso committed Apr 5, 2022
1 parent c9305b7 commit 7db1bc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/block-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
function yith_proteo_register_block_styles() {
// Button: Style 1.
register_block_style(
register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
'core/button',
array(
'name' => 'button-style-1',
Expand All @@ -25,7 +25,7 @@ function yith_proteo_register_block_styles() {
);

// Button: Style 2.
register_block_style(
register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
'core/button',
array(
'name' => 'button-style-2',
Expand All @@ -34,7 +34,7 @@ function yith_proteo_register_block_styles() {
);

// Button: Ghost.
register_block_style(
register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
'core/button',
array(
'name' => 'button-ghost',
Expand All @@ -43,7 +43,7 @@ function yith_proteo_register_block_styles() {
);

// Button: Unstyled.
register_block_style(
register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
'core/button',
array(
'name' => 'button-unstyled',
Expand Down

0 comments on commit 7db1bc3

Please sign in to comment.