HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/flbestac/public_html/wp-content/plugins/wp-seopress/inc/admin/admin-pages/InstantIndexing.php
<?php

defined('ABSPATH') or exit('Please don&rsquo;t call the plugin directly. Thanks :)');
$this->options = get_option('seopress_pro_option_name');


if (function_exists('seopress_admin_header')) {
    echo seopress_admin_header();
}
?>
<form method="post"
    action="<?php echo esc_url(admin_url('options.php')); ?>"
    class="seopress-option">
    <?php
        $current_tab = '';

        echo $this->feature_title('instant-indexing');
        settings_fields('seopress_instant_indexing_option_group');
    ?>

    <div id="seopress-tabs" class="wrap">
        <?php
        $plugin_settings_tabs = [
            'tab_seopress_instant_indexing_general' => __('General', 'wp-seopress'),
            'tab_seopress_instant_indexing_settings' => __('Settings', 'wp-seopress')
        ];

    echo '<div class="nav-tab-wrapper">';
    foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
        echo '<a id="' . esc_attr($tab_key) . '-tab" class="nav-tab" href="?page=seopress-instant-indexing-page#tab=' . esc_attr($tab_key) . '">' . esc_html($tab_caption) . '</a>';
    }
    echo '</div>'; ?>

    <!-- General -->
    <div class="seopress-tab <?php if ('tab_seopress_instant_indexing_general' == $current_tab) {
    echo 'active';
    } ?>" id="tab_seopress_instant_indexing_general">
        <?php do_settings_sections('seopress-settings-admin-instant-indexing'); ?>
    </div>

    <!-- Settings -->
    <div class="seopress-tab <?php if ('tab_seopress_instant_indexing_settings' == $current_tab) {
        echo 'active';
    } ?>" id="tab_seopress_instant_indexing_settings">
        <?php do_settings_sections('seopress-settings-admin-instant-indexing-settings'); ?>
    </div>

    </div>
    <!--seopress-tabs-->
    <?php echo $this->feature_save(); ?>
    <?php sp_submit_button(esc_html__('Save changes', 'wp-seopress')); ?>
</form>
<?php