Forked from tomusborne/gist:e45f6e9d51e980f72b586e2a143324a7
Created
June 13, 2020 05:08
-
-
Save MariaJackson1/c92db24561ecbcddb76caa138647987d to your computer and use it in GitHub Desktop.
Set GenerateBlocks Container padding to 0 by default.
This file contains hidden or 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_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