Submit
Path:
~
/
home
/
getwphos
/
www
/
pioneerasphalt
/
wp-content
/
plugins
/
hiroshi-core
/
inc
/
header
/
layouts
/
standard
/
File Content:
helper.php
<?php if ( ! function_exists( 'hiroshi_core_add_standard_header_global_option' ) ) { /** * This function set header type value for global header option map */ function hiroshi_core_add_standard_header_global_option( $header_layout_options ) { $header_layout_options['standard'] = array( 'image' => HIROSHI_CORE_HEADER_LAYOUTS_URL_PATH . '/standard/assets/img/standard-header.png', 'label' => esc_html__( 'Standard', 'hiroshi-core' ), ); return $header_layout_options; } add_filter( 'hiroshi_core_filter_header_layout_option', 'hiroshi_core_add_standard_header_global_option' ); } if ( ! function_exists( 'hiroshi_core_set_standard_header_as_default_global_option' ) ) { /** * This function set header type as default option value for global header option map */ function hiroshi_core_set_standard_header_as_default_global_option() { return 'standard'; } add_filter( 'hiroshi_core_filter_header_layout_default_option_value', 'hiroshi_core_set_standard_header_as_default_global_option' ); } if ( ! function_exists( 'hiroshi_core_register_standard_header_layout' ) ) { /** * Function which add header layout into global list * * @param array $header_layouts * * @return array */ function hiroshi_core_register_standard_header_layout( $header_layouts ) { $header_layouts['standard'] = 'HiroshiCore_Standard_Header'; return $header_layouts; } add_filter( 'hiroshi_core_filter_register_header_layouts', 'hiroshi_core_register_standard_header_layout' ); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
dashboard
---
0755
templates
---
0755
class-hiroshicore-standard-header.php
1049 bytes
0644
helper.php
1507 bytes
0644
include.php
408 bytes
0644
N4ST4R_ID | Naxtarrr