remove prefix for internal editor function
This commit is contained in:
parent
6d953a08bd
commit
e9b8b037a8
|
@ -8,10 +8,10 @@
|
|||
/**
|
||||
* Registers an editor stylesheet for the theme.
|
||||
*/
|
||||
function understrap_wpdocs_theme_add_editor_styles() {
|
||||
function wpdocs_theme_add_editor_styles() {
|
||||
add_editor_style( 'css/custom-editor-style.css' );
|
||||
}
|
||||
add_action( 'admin_init', 'understrap_wpdocs_theme_add_editor_styles' );
|
||||
add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
|
||||
|
||||
// Add TinyMCE style formats.
|
||||
add_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' );
|
||||
|
|
Reference in New Issue