| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/plugins/pods/ui/admin/ |
Upload File : |
<?php
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
// Prevent non-admins.
if ( ! pods_is_admin( 'pods_settings' ) ) {
die( '-1' );
}
?>
<div class="wrap pods-admin<?php echo PodsAdmin::$instance->has_horizontal_callout() ? '' : ' pods-admin--flex'; ?>">
<?php
/**
* Allow additional output before the container area of the Pods settings screen.
*
* @since 3.1.0
*/
do_action( 'pods_admin_before_settings' );
?>
<div class="pods-admin__content-container">
<form action="" method="post" class="pods-submittable pods-form pods-form-settings">
<div id="icon-pods" class="icon32"><br /></div>
<?php
$default = 'settings';
$tabs = [
'settings' => __( 'Settings', 'pods' ),
'tools' => __( 'Tools', 'pods' ),
'reset' => __( 'Cleanup & Reset', 'pods' ),
];
/**
* Allow filtering of settings page tabs.
*
* @since 2.8.0
*
* @param array $tabs List of settings page tabs.
*/
$tabs = apply_filters( 'pods_admin_settings_tabs', $tabs );
$current_tab = pods_v( 'tab', 'get', $default, true );
if ( ! isset( $tabs[ $current_tab ] ) ) {
$current_tab = $default;
}
?>
<h2 class="nav-tab-wrapper">
<?php
foreach ( $tabs as $tab => $label ) {
$class = '';
if ( $tab === $current_tab ) {
$class = ' nav-tab-active';
$label = 'Pods ' . $label;
}
$url = pods_query_arg( [ 'tab' => $tab ], [ 'page' ] );
?>
<a href="<?php echo esc_url( $url ); ?>" class="nav-tab<?php echo esc_attr( $class ); ?>">
<?php echo esc_html( $label ); ?>
</a>
<?php
}
?>
</h2>
<img src="<?php echo esc_url( PODS_URL ); ?>ui/images/pods-logo-notext-rgb-transparent.png" class="pods-leaf-watermark-right" />
<?php
wp_nonce_field( 'pods-settings' );
/**
* Allow customizations on tab page before output.
*
* @since 2.8.0
*/
do_action( 'pods_admin_settings_page_pre_' . $current_tab );
pods_view( PODS_DIR . 'ui/admin/settings-' . sanitize_title( $current_tab ) . '.php' );
/**
* Allow customizations on tab page after output.
*
* @since 2.8.0
*/
do_action( 'pods_admin_settings_page_post_' . $current_tab );
?>
</form>
</div>
<?php
/**
* Allow additional output after the container area of the Pods settings screen.
*
* @since 2.7.17
*/
do_action( 'pods_admin_after_settings' );
?>
</div>