Hook to add js file just for posts created with classic editor?
-
I’m finally making the move to Gutenberg and would like to know if there is a hook I can use to target just non Gutenberg posts? I have a lot of posts (from back to 2008!), some of which require a JavaScript code highlighter.
I don’t need this on new, Gutenberg created posts though. Is there a filter to target just non Gutenberg posts so I can add that JS file just to those posts that need it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hook to add js file just for posts created with classic editor?’ is closed to new replies.