Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
halstein-core
/
inc
/
mobile-header
/
layouts
/
standard
/
File Content:
helper.php
<?php if ( ! function_exists( 'halstein_core_add_standard_mobile_header_global_option' ) ) { /** * This function set header type value for global header option map */ function halstein_core_add_standard_mobile_header_global_option( $header_layout_options ) { $header_layout_options['standard'] = array( 'image' => HALSTEIN_CORE_MOBILE_HEADER_LAYOUTS_URL_PATH . '/standard/assets/img/standard-header.png', 'label' => esc_html__( 'Standard', 'halstein-core' ), ); return $header_layout_options; } add_filter( 'halstein_core_filter_mobile_header_layout_option', 'halstein_core_add_standard_mobile_header_global_option' ); } if ( ! function_exists( 'halstein_core_add_standard_mobile_header_as_default_global_option' ) ) { /** * This function set default value for global mobile header option map */ function halstein_core_add_standard_mobile_header_as_default_global_option() { return 'standard'; } add_filter( 'halstein_core_filter_mobile_header_layout_default_option', 'halstein_core_add_standard_mobile_header_as_default_global_option' ); } if ( ! function_exists( 'halstein_core_register_standard_mobile_header_layout' ) ) { /** * This function add header layout into global options list * * @param array $mobile_header_layouts * * @return array */ function halstein_core_register_standard_mobile_header_layout( $mobile_header_layouts ) { $mobile_header_layouts['standard'] = 'HalsteinCore_Standard_Mobile_Header'; return $mobile_header_layouts; } add_filter( 'halstein_core_filter_register_mobile_header_layouts', 'halstein_core_register_standard_mobile_header_layout' ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
dashboard
---
0755
templates
---
0755
class-halsteincore-standard-mobile-header.php
501 bytes
0644
helper.php
1634 bytes
0644
include.php
334 bytes
0644
N4ST4R_ID | Naxtarrr