hooks();
return self::$_instance;
}
public function hooks()
{
$show_bottom_header = (boolean)agency_ecommerce_get_option('show_bottom_header');
if ($show_bottom_header) {
add_action('agency_ecommerce_before_bottom_header', array($this, 'agency_ecommerce_before_bottom_header_action'), 10);
add_action('agency_ecommerce_bottom_header', array($this, 'agency_ecommerce_bottom_header_action'), 10);
add_action('agency_ecommerce_after_bottom_header', array($this, 'agency_ecommerce_after_bottom_header_action'), 10);
}
$special_menu = agency_ecommerce_get_option('special_menu');
if ($special_menu) {
add_action('agency_ecommerce_main_content', array($this, 'agency_ecommerce_special_menu_action'), 10);
}
}
public function agency_ecommerce_before_bottom_header_action()
{
?>