Created
March 27, 2019 20:14
-
-
Save richtabor/320d635015772d5a87bace572e00974a to your computer and use it in GitHub Desktop.
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
<?php | |
if ( has_block( 'blockgallery/masonry' ) ) { | |
// Do something, if the Block Gallery Masonry block is added to this page. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment