Created
January 26, 2018 02:36
-
-
Save myselfhimself/2a41087e9e675be2ac9e6c35de969ef8 to your computer and use it in GitHub Desktop.
Programmatically enable no_autop (automatic p removal by tinymce), within tinymce_advanced Wordpress plugin
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
<?php | |
// This comes in handy for continuous deployment for Wordpress plugins and settings, here TinyMCE Advanced | |
// Enable no auto p removal in tinymce advanced editor plugin | |
$tadv_admin_settings = get_option('tadv_admin_settings'); | |
$tadv_admin_settings['options'] = 'no_autop'; | |
update_option('tadv_admin_settings', $tadv_admin_settings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment