Created
January 22, 2022 18:38
Revisions
-
slavapas revised this gist
Jan 22, 2022 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,8 @@ // Contact Form 7 : How to enable shortcodes in Form and Mail Template function my_special_mail_tag( $output, $name, $html ) { if ( 'myshortcode' == $name ) $output = do_shortcode( "[$name]" ); return $output; } add_filter( 'wpcf7_special_mail_tags', 'my_special_mail_tag', 10, 3 ); -
slavapas revised this gist
Jan 22, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ // Contact Form 7 : How to enable shortcodes in Form and Mail Template -
slavapas created this gist
Jan 22, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@