Tag: Action Filters
-
How to Add Additional Attributes to the Script Tag in WordPress?
Often it is required to add some additional attributes to the script tag in WordPress. Since, we use wp_register_script to properly register scripts with WordPress but the function doesn’t give us the flexibility to pass additional attributes as parameters. So we need to find an alternative way to do this. In this special episode of…