lots0logs
3/15/2016 - 7:11 PM

WordPress :: Divi Builder :: Plugin Compatibility :: Exclude Conflicting Shortcodes In Admin

WordPress :: Divi Builder :: Plugin Compatibility :: Exclude Conflicting Shortcodes In Admin

<?php
/* DON'T copy the first line (above) if your functions.php already has it. 
 * ---------------------------------------------------------------------- */
 
function my_et_pb_admin_excluded_shortcodes( $shortcodes ) {
	 
	 $shortcodes[] = 'WPL';
	 // $shortcodes[] = 'another shortcode...';
	 
	 return $shortcodes;
}
add_filters( 'et_pb_admin_excluded_shortcodes', 'my_et_pb_admin_excluded_shortcodes' );