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

+40
View File
@@ -0,0 +1,40 @@
<?php
namespace Rarst\Laps;
class THA_Events extends Laps_Events {
protected function is_applicable() {
return defined( 'THA_HOOKS_VERSION' );
}
protected function get_events() {
$events = array();
$events['tha_header_before'][10] = array(
'event' => 'Header',
'category' => 'theme',
);
$events['tha_header_after'][10] = array(
'action' => 'stop',
'event' => 'Header',
'category' => 'theme',
);
$events['tha_sidebars_before'][10] = array(
'event' => 'Sidebars',
'category' => 'theme',
);
$events['tha_sidebars_after'][10] = array(
'action' => 'stop',
'event' => 'Sidebars',
'category' => 'theme',
);
return $events;
}
}