| 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/filester/vendor-prefixed/views/ |
Upload File : |
<?php
namespace FilesterScoped;
/**
* "WooCommerce required" full-screen gate.
*
* Rendered in place of a plugin's settings page when the plugin depends on
* WooCommerce and WooCommerce is inactive (see PluginSubmenu + the adapter's
* optional needs_woocommerce_screen() method). Without this, WooCommerce-only
* settings apps mount into an empty container and spin forever.
*
* Expects $copy (array) supplied by WooCommerceRequiredPage::render():
* icon, title, text, button, hint.
*
* @package YayCommerce\AdminShell\Views
* @var array $copy
*/
\defined('ABSPATH') || exit;
$yaycommerce_install_wc_url = \esc_url(\admin_url('plugin-install.php?s=woocommerce&tab=search&type=term'));
?>
<style>
#wpcontent #wpbody .notice,
.error, .updated { display: none; }
#wpfooter { display: none; }
.yaycommerce-requirement-screen {
display: flex;
align-items: center;
justify-content: center;
min-height: calc(100vh - 160px);
padding: 24px;
box-sizing: border-box;
}
.yaycommerce-requirement-card {
max-width: 460px;
width: 100%;
text-align: center;
background: #ffffff;
border: 1px solid #e4e4e7;
border-radius: 12px;
padding: 40px 32px;
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.06 );
}
.yaycommerce-requirement-card__icon { font-size: 44px; line-height: 1; margin-bottom: 16px; }
.yaycommerce-requirement-card__title { font-size: 22px; font-weight: 600; color: #1e1e1e; margin: 0 0 12px; }
.yaycommerce-requirement-card__text { font-size: 14px; line-height: 1.6; color: #50575e; margin: 0 0 24px; }
.yaycommerce-requirement-card__button {
display: inline-block;
background: #873eff;
color: #ffffff;
font-size: 14px;
font-weight: 600;
text-decoration: none;
padding: 10px 24px;
border-radius: 6px;
transition: background 0.15s ease;
}
.yaycommerce-requirement-card__button:hover,
.yaycommerce-requirement-card__button:focus { background: #6f2fe0; color: #ffffff; }
.yaycommerce-requirement-card__hint { font-size: 12px; color: #787c82; margin: 20px 0 0; }
</style>
<div class="yaycommerce-requirement-screen">
<div class="yaycommerce-requirement-card">
<div class="yaycommerce-requirement-card__icon" aria-hidden="true"><?php
echo \esc_html($copy['icon']);
?></div>
<h1 class="yaycommerce-requirement-card__title"><?php
echo \esc_html($copy['title']);
?></h1>
<p class="yaycommerce-requirement-card__text"><?php
echo \esc_html($copy['text']);
?></p>
<a class="yaycommerce-requirement-card__button" href="<?php
echo \esc_url($yaycommerce_install_wc_url);
?>">
<?php
echo \esc_html($copy['button']);
?>
</a>
<p class="yaycommerce-requirement-card__hint"><?php
echo \esc_html($copy['hint']);
?></p>
</div>
</div>
<?php