fauzanjeg

Remove Style in Gutenberg Editor

Jun 21st, 2021 (edited)
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /* Remove Style in Gutenberg Editor */
  2. function remove_gutenberg_style() {
  3.     remove_action( 'admin_print_styles', array( JNews\Gutenberg::getInstance(), 'load_style' ), 99 );
  4. }
  5. add_action( 'init', 'remove_gutenberg_style' );
Add Comment
Please, Sign In to add comment