Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set GenerateBlocks Container padding to 0 by default.
add_filter( 'generateblocks_defaults', function( $defaults ) {
$defaults['container']['paddingTop'] = '';
$defaults['container']['paddingRight'] = '';
$defaults['container']['paddingBottom'] = '';
$defaults['container']['paddingLeft'] = '';
return $defaults;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment