parent = $framework; } /** * Create the HTML interface for admin options page * * @since 1.0.0 * @return void */ public function admin_options_page() { $section_ids = array_keys( $this->parent->sections ); $requested_tab = filter_input( INPUT_GET, 'tab', FILTER_UNSAFE_RAW ); $active_tab = is_string( $requested_tab ) ? sanitize_key( $requested_tab ) : $section_ids[0]; $base_url = menu_page_url( $this->parent->configs['page_slug'], false ); if ( ! isset( $this->parent->sections[ $active_tab ] ) ) { echo '

' . esc_html__( 'The requested settings section does not exist.', 'adz-world' ) . '

'; return; } ?>
parent->sections[ $active_tab ]['type'] ) && 'blank' === $this->parent->sections[ $active_tab ]['type'] ) { do_action( 'eof_options_page_' . $this->parent->configs['opt_name'] . '_' . $this->parent->sections[ $active_tab ]['id'] ); } else { ?>
parent->configs['opt_name'] ); do_settings_fields( $this->parent->configs['opt_name'] . '_' . $active_tab, $this->parent->configs['opt_name'] . '_' . $active_tab ); ?>

$active_tab, 'action' => 'reset', 'reset_nonce' => wp_create_nonce( 'eof_reset' ), ), $base_url ); ?>