wordpress.org – How to remove jquery migrate on selected posts

Question

There are working solutions to remove jquery-migrate (popular solution), however NONE for selected posts.

The problem is that they all rely on wp_default_scripts hook, where post id is not defined yet.

Question: How can I remove jquery-migrate for all posts BUT keep it on home page/front page?

0
Mulli 1 week 2022-08-03T11:12:58-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse