Submit
Path:
~
/
home
/
getwphos
/
www
/
pioneerasphalt
/
wp-content
/
plugins
/
hiroshi-core
/
inc
/
search
/
layouts
/
fullscreen
/
File Content:
class-hiroshicore-fullscreen-search.php
<?php class HiroshiCore_Fullscreen_Search extends HiroshiCore_Search { private static $instance; public function __construct() { parent::__construct(); add_action( 'hiroshi_action_page_footer_template', array( $this, 'load_template' ), 11 ); //after footer } /** * @return HiroshiCore_Fullscreen_Search */ public static function get_instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } public function load_template() { if ( is_active_widget( false, false, 'hiroshi_core_search_opener' ) ) { hiroshi_core_template_part( 'search/layouts/' . $this->get_search_layout(), 'templates/' . $this->get_search_layout() ); } } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
templates
---
0755
class-hiroshicore-fullscreen-search.php
710 bytes
0644
helper.php
501 bytes
0644
include.php
192 bytes
0644
N4ST4R_ID | Naxtarrr