Last active
August 29, 2015 14:26
-
-
Save kjohnson/604973d4877fdbddcf2a to your computer and use it in GitHub Desktop.
Disable do_shortcode for Front End Editor
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 if ( ! defined( 'ABSPATH' ) ) exit; | |
| /* | |
| * Plugin Name: Ninja Forms - Front End Editor - Disable do_shortcode | |
| * Plugin URI: http://kylebjohnson.me | |
| * Version: 0.1.0 | |
| * Author: The WP Ninjas | |
| */ | |
| add_filter( 'nf_fee_do_shortcodes', 'nf_fee_do_shortcodes_disbale' ); | |
| function nf_fee_do_shortcodes_disbale( $enabled ){ | |
| return FALSE; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment