Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd14
/
wp-content
/
plugins
/
halstein-core
/
inc
/
title
/
layouts
/
standard
/
File Content:
helper.php
<?php if ( ! function_exists( 'halstein_core_register_standard_title_layout' ) ) { /** * Function that add variation layout for this module * * @param array $layouts * * @return array */ function halstein_core_register_standard_title_layout( $layouts ) { $layouts['standard'] = 'HalsteinCore_Standard_Title'; return $layouts; } add_filter( 'halstein_core_filter_register_title_layouts', 'halstein_core_register_standard_title_layout' ); } if ( ! function_exists( 'halstein_core_add_standard_title_layout_option' ) ) { /** * Function that set new value into title layout options map * * @param array $layouts - module layouts * * @return array */ function halstein_core_add_standard_title_layout_option( $layouts ) { $layouts['standard'] = esc_html__( 'Standard', 'halstein-core' ); return $layouts; } add_filter( 'halstein_core_filter_title_layout_options', 'halstein_core_add_standard_title_layout_option' ); } if ( ! function_exists( 'halstein_core_get_standard_title_layout_subtitle_text' ) ) { /** * Function that render current page subtitle text */ function halstein_core_get_standard_title_layout_subtitle_text() { $subtitle_meta = halstein_core_get_post_value_through_levels( 'qodef_page_title_subtitle' ); $subtitle = array( 'subtitle' => ! empty( $subtitle_meta ) ? $subtitle_meta : '' ); return apply_filters( 'halstein_core_filter_standard_title_layout_subtitle_text', $subtitle ); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
dashboard
---
0755
templates
---
0755
class-halsteincore-standard-title.php
1350 bytes
0644
helper.php
1464 bytes
0644
include.php
298 bytes
0644
N4ST4R_ID | Naxtarrr