Initial commit

This commit is contained in:
Rarst committed 2013-04-22 23:19:36 +03:00
commit 88945ebafa
16 files changed
+1037

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
<?php
namespace Rarst\Laps;
class Core_Events extends Laps_Events {
public function get_events() {
$stops = array();
$stops['plugins_loaded'][20] = array(
'action' => 'stop',
'event' => 'Plugins Load',
'category' => 'plugin',
);
$stops['setup_theme'][0] = array(
'event' => 'Themes Load',
'category' => 'theme',
);
$stops['after_setup_theme'][20] = array(
'action' => 'stop',
'event' => 'Themes Load',
'category' => 'theme',
);
$stops['init'][- 1] = array(
'event' => 'Core Init',
'category' => 'core',
);
$stops['wp_loaded'][20] = array(
'action' => 'stop',
'event' => 'Core Init',
'category' => 'core',
);
$stops['loop_start'][10] = array(
'event' => 'Main Loop',
'category' => 'theme',
);
$stops['loop_end'][10] = array(
'action' => 'stop',
'event' => 'Main Loop',
'category' => 'theme',
);
return $stops;
}
}