We have been working on WordPress website optimization and want to replace or combine style sheets and do some other fancy stuff. In order to do this we need handle names of scripts and styles, we have two functions that works to retrieve the handle of a script or…