title) || !empty($azera_shop_shortcodes_section_decoded[0]->subtitle) || !empty($azera_shop_shortcodes_section_decoded[0]->shortcode))){ foreach($azera_shop_shortcodes_section_decoded as $section){ $id = ''; $title = ''; $subtitle = ''; $shortcode = ''; if( !empty($section->id) ){ $id = $section->id; } if( !empty( $section->title ) ){ if( function_exists( 'pll__') ){ $title = pll__( $section->title ); } else { $title = apply_filters( 'wpml_translate_single_string', $section->title, 'Azera Shop -> Shortcodes section', 'Shortcode title '.$id ); } } if( !empty( $section->subtitle ) ){ if( function_exists( 'pll__') ){ $subtitle = pll__( $section->subtitle ); } else { $subtitle = apply_filters( 'wpml_translate_single_string', $section->subtitle, 'Azera Shop -> Shortcodes section', 'Shortcode subtitle '.$id ); } } if( !empty( $section->shortcode ) ){ if( function_exists( 'pll__') ){ $shortcode = pll__( $section->shortcode ); } else { $shortcode = apply_filters( 'wpml_translate_single_string', $section->shortcode, 'Azera Shop -> Shortcodes section', 'Shortcode '.$id ); } } ?>
'.esc_attr($title).'
'; } if( !empty($subtitle) ){ echo '
'.esc_attr($subtitle).'
'; } ?>