Split plugins load into file load and following hook.
This commit is contained in:
1 parent
6fda82d443
commit
5a33c9329b
1 file changed
+12
-1
@@ -14,12 +14,23 @@ class Core_Events extends Laps_Events {
|
||||
|
||||
$stops = array();
|
||||
|
||||
$stops['plugins_loaded'][20] = array(
|
||||
$stops['plugins_loaded'][ - 2 ] = array(
|
||||
'action' => 'stop',
|
||||
'event' => 'Plugins Load',
|
||||
'category' => 'plugin',
|
||||
);
|
||||
|
||||
$stops['plugins_loaded'][ - 1 ] = array(
|
||||
'event' => 'Plugins Loaded Hook',
|
||||
'category' => 'plugin',
|
||||
);
|
||||
|
||||
$stops['plugins_loaded'][20] = array(
|
||||
'action' => 'stop',
|
||||
'event' => 'Plugins Loaded Hook',
|
||||
'category' => 'plugin',
|
||||
);
|
||||
|
||||
$stops['setup_theme'][0] = array(
|
||||
'event' => 'Themes Load',
|
||||
'category' => 'theme',
|
||||
|
||||
Reference in new issue
Block a user