Timeline for register dependency css and js inside a plugin class
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2019 at 16:58 | comment | added | userone2 | will this work for scripts and styles? | |
Sep 29, 2019 at 16:47 | comment | added | userone2 | I'm checking it because usually I include bootstrap and other dependencies inside my custom themes. So I need to load the dependencies if they aren't already loaded. Thanks for the help. It will be best if I use only one class method to check and enqueue, and register styles/scripts is better than enqueue? | |
Sep 29, 2019 at 16:42 | vote | accept | userone2 | ||
Sep 29, 2019 at 14:20 | history | answered | Jacob Peattie | CC BY-SA 4.0 |