[wp-hackers] Plugin main file name

DD32 wordpress at dd32.id.au
Tue Aug 26 04:18:04 GMT 2008


On Tue, 26 Aug 2008 14:06:09 +1000, Stephen Rider  
<wp-hackers at striderweb.com> wrote:

> Here's my question:
>Does plugins_loaded run immediately after all the plugins are loaded?   
> Is there something better I might hook to?  All plugins have to have  
> been loaded so that we've seen all the strider_core.php files that might  
> exist, so I think this is where to do it.

plugins_loaded is the best hook.

http://trac.wordpress.org/browser/trunk/wp-settings.php#L473

You'll find the plugin inclusion code on line #448


More information about the wp-hackers mailing list