Last active
May 8, 2018 09:47
-
-
Save AnatoliyAkhmatov/554219d5988116d20f209c9ae6aeb9cd to your computer and use it in GitHub Desktop.
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
// html или tinymce | |
// Установим визуальный редактор, редактором по умолчанию | |
add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') ); | |
// Установим HTML (текстовый) редактор, редактором по умолчанию | |
add_filter( 'wp_default_editor', create_function('', 'return "html";') ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment