$template_context Authorized step context. */ if ( ! defined( 'ABSPATH' ) ) { exit; } $step_data = isset( $template_context['step_data'] ) && is_array( $template_context['step_data'] ) ? $template_context['step_data'] : array(); $values = isset( $step_data['values'] ) && is_array( $step_data['values'] ) ? $step_data['values'] : array(); $destinations = isset( $step_data['destinations'] ) && is_array( $step_data['destinations'] ) ? $step_data['destinations'] : array(); $pages = isset( $step_data['pages'] ) && is_array( $step_data['pages'] ) ? $step_data['pages'] : array(); $content_options = isset( $step_data['content_options'] ) && is_array( $step_data['content_options'] ) ? $step_data['content_options'] : array(); $selected_content = isset( $step_data['selected_content'] ) && is_array( $step_data['selected_content'] ) ? $step_data['selected_content'] : array(); $insertion_help = isset( $step_data['insertion_help'] ) && is_array( $step_data['insertion_help'] ) ? $step_data['insertion_help'] : array(); $destination_id = isset( $values['publish_destination'] ) ? sanitize_key( (string) $values['publish_destination'] ) : ''; $page_title = isset( $values['publish_page_title'] ) ? (string) $values['publish_page_title'] : ''; $existing_page_id = isset( $values['publish_existing_page_id'] ) ? absint( $values['publish_existing_page_id'] ) : 0; $content_id = isset( $values['publish_page_content'] ) ? sanitize_key( (string) $values['publish_page_content'] ) : ''; $page_url = isset( $step_data['page_url'] ) ? (string) $step_data['page_url'] : ''; $home_path = isset( $step_data['home_path'] ) ? (string) $step_data['home_path'] : '/'; $has_created_page = ! empty( $step_data['has_created_page'] ); $shortcode = isset( $selected_content['shortcode'] ) ? (string) $selected_content['shortcode'] : ''; $shortcode_help_url = isset( $selected_content['shortcode_help_url'] ) ? (string) $selected_content['shortcode_help_url'] : ''; $shortcode_help_label = isset( $selected_content['shortcode_help_label'] ) ? (string) $selected_content['shortcode_help_label'] : ''; $insertion_help_url = isset( $insertion_help['url'] ) ? (string) $insertion_help['url'] : ''; $insertion_help_label = isset( $insertion_help['label'] ) ? (string) $insertion_help['label'] : ''; ?>

render( 'settings-hint', array( 'settings_hint' => $template_context['settings_hint'] ) ); ?>

>

>
>