I am trying to write a function for wordpress multisite that would affect all installed themes on page load by adding
this line on the end

“add_editor_style( ‘GLOBALstyleLink.css’ );”

This is what I’ve come up so far

function editorStyle (){

$theme = wp_get_theme();
if (!$theme){

add_editor_style( ‘GLOBALstyleLink.css’ );



editorStyle ();

Spent 3 hours searching, on something that is supposed to really simple..but no reference anywhere…

Read more here: wordpress extend theme function.php with a plugin


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: