Skip to content

Instantly share code, notes, and snippets.

@steroyle
Created February 15, 2021 17:00
Show Gist options
  • Save steroyle/2c00cae6f854108f98c2f16105b5b3f4 to your computer and use it in GitHub Desktop.
Save steroyle/2c00cae6f854108f98c2f16105b5b3f4 to your computer and use it in GitHub Desktop.
// displays blocks used on a page, helpful when trying to disable core/3rd party blocks from the block editor. Add to page template.
echo '<pre>' . esc_html( $post->post_content ) . '</pre>';
// remove Contact 7 plugin css and scripts. Add to functions.php
add_filter( 'wpcf7_load_js', '__return_false' );
add_filter( 'wpcf7_load_css', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment