Initial commit
This commit is contained in:
commit
88945ebafa
16 files changed
+1037
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user