Skip to content

Instantly share code, notes, and snippets.

@richtabor
Created March 27, 2019 20:14
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save richtabor/320d635015772d5a87bace572e00974a to your computer and use it in GitHub Desktop.
<?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