Advertisement
fauzanjeg

Custom CSS for Text Editor

May 24th, 2021 (edited)
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /** Function || Custom CSS for Text Editor */
  2. add_action( 'admin_enqueue_scripts', 'css_custom_in_admin' );
  3.  
  4. function css_custom_in_admin() {
  5.     add_editor_style( get_site_url() . '/wp-content/custom_file/custom_admin.css' );
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement