「wp-includes/functions.php」に次のコードを追加
1 2 3 4 5 6 7 8 9 10 11 |
/** * Change editor default input. * * @param string $editor * @return string $editor */ function change_editor_default( $editor ) { $editor = 'html'; return $editor; } add_filter( 'wp_default_editor', 'change_editor_default' ); |