Conditional loading of custom script
-
Hi!
I’d like to know if it is possible to enqueue a custom script only on pages where there’s a tablepress table.
I know it can be done if you know the ID of the pages. But users may be adding and deleting tables from pages regularly.Is there a way to check if the page has a table without knowing the ID?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditional loading of custom script’ is closed to new replies.