-
-
Save billerickson/6bf391d39e455e4765c7a88d3c8352ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp.domReady( () => { | |
wp.blocks.unregisterBlockStyle( 'core/button', 'default' ); | |
wp.blocks.unregisterBlockStyle( 'core/button', 'outline' ); | |
wp.blocks.unregisterBlockStyle( 'core/button', 'squared' ); | |
wp.blocks.registerBlockStyle( 'core/button', { | |
name: 'tp-default', | |
label: 'Default', | |
}); | |
wp.blocks.registerBlockStyle( 'core/button', { | |
name: 'full-width', | |
label: 'Full Width', | |
} ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment