Last active
October 22, 2022 11:34
-
-
Save frantorres/72fc848a6c7b4225a5b62112bf50f51a to your computer and use it in GitHub Desktop.
Añadir estilo de bloque en Gutenberg.
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
add_action('init', '_s_block_style'); | |
function _s_block_style() { | |
register_block_style('core/columns', | |
[ | |
'name' => 'columna-divertida', | |
'label' => __('Divertida', '_s') | |
] | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment