[wp-hackers] List header scripts handles

John Blackbourn johnbillion+wp at gmail.com
Tue Sep 14 00:46:19 UTC 2010


IIRC scripts are stored in the global $wp_scripts variable so you
should be able to do something like this in your footer:

global $wp_scripts;
print_r( $wp_scripts );

John

On Tue, Sep 14, 2010 at 1:40 AM, Jason <jason at findingsimple.com> wrote:
> Hi all,
>
> Just a quick one - Is there a way to list/find out what the handles are for
> scripts (non core js file) that have been loaded using wp_enqueue_script
> into the header of site.
>
> I've got a plugin which has encrypted/obfuscated its code so I can't find
> out from the source what handle was used - and hence can't de-register it.
>
> I've managed to guess one of the handles but there are a few more and the
> developer won't tell me through the support channel because it is classed as
> customization or something.
>
> Cheers,
> Jason
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list