Why do WordPress adds the id="handle-{js|css}" attribute to scripts and stylesheet?

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=XJNLfB6EQLM



Duration: 2:30
2 views
0


Why do WordPress adds the id="handle-{js|css}" attribute to scripts and stylesheet?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(wordpress.stackexchange.com/users/190376/amarinediary)amarinediary |
(wordpress.stackexchange.com/users/137402/sally-cj)Sally CJ |
A special thanks goes out to the (https://wordpress.stackexchange.com/questions/410274/why-do-wordpress-adds-the-id-handle-jscss-attribute-to-scripts-and-styleshe)Stackexchange community |

I wish you all a wonderful day! Stay safe :)







Tags:
wp-enqueue-script
wp-register-script
wp-register-style
wp-enqueue-style