Created
August 6, 2018 22:25
-
-
Save mrkdevelopment/04daf0795f9fa7ce5b47968952cf9c76 to your computer and use it in GitHub Desktop.
remove divi cpt style action
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
/** | |
* Disable new divi crazy crap code for CPT | |
**/ | |
function disable_cptdivi() | |
{ | |
remove_action( 'wp_enqueue_scripts', 'et_divi_replace_stylesheet', 99999998 ); | |
} | |
add_action('init', 'disable_cptdivi'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!