remove prefix for internal editor function

This commit is contained in:
Holger Könemann 2017-11-29 10:26:50 +01:00
parent 6d953a08bd
commit e9b8b037a8
1 changed files with 2 additions and 2 deletions

View File

@ -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' );