Add editor_stylesheets filter to get_editor_stylesheets().

props danielbachhuber, MikeHansenMe.
fixes #31672.

git-svn-id: https://develop.svn.wordpress.org/trunk@32928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-06-24 13:31:11 +00:00
parent 64da56c543
commit 8d756c76c1

View File

@ -1499,7 +1499,14 @@ function get_editor_stylesheets() {
}
}
}
return $stylesheets;
/**
* Filter the array of stylesheets applied to the editor.
*
* @since 4.3.0
*
* @param array $stylesheets Array of stylesheets to be applied to the editor.
*/
return apply_filters( 'editor_stylesheets', $stylesheets );
}
/**