Created
February 15, 2021 17:00
-
-
Save steroyle/2c00cae6f854108f98c2f16105b5b3f4 to your computer and use it in GitHub Desktop.
This file contains 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
// 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