Last active
June 18, 2019 11:14
-
-
Save yuliyang/c449bf029d7487847407018e20977d6d to your computer and use it in GitHub Desktop.
[Ninja Forms] Allow shortcode in Ninja Forms
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 characters
<?php | |
add_filter( 'ninja_forms_action_email_message', function( $message, $data, $action_settings ) { | |
return do_shortcode( $message ); | |
}, 20, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment