wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



remove_editor_styles › WordPress Function

Desde3.1.0
Obsoleton/a
remove_editor_styles ( Sem parâmetros )
Retorna:
  • (bool) True on success, false if there were no stylesheets to remove.
Definido em:
Codex:

Removes all visual editor stylesheets.



Fonte

function remove_editor_styles() {
	if ( ! current_theme_supports( 'editor-style' ) ) {
		return false;
	}
	_remove_theme_support( 'editor-style' );
	if ( is_admin() ) {
		$GLOBALS['editor_styles'] = array();
	}
	return true;
}