Last active
November 26, 2019 14:10
-
-
Save jasewarner/1b4d18e22ccc104d9a579e5525d651b4 to your computer and use it in GitHub Desktop.
Contact Form 7 plugin filter to remove <p/> tags
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
/** | |
* Contact Form 7 plugin filters | |
* | |
* @author Jase Warner | |
* @version 1.0.0 | |
* @package <package> | |
*/ | |
/** | |
* Remove <p/> tags from forms | |
*/ | |
add_filter( 'wpcf7_autop_or_not', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment