| Server IP : 35.201.19.92 / Your IP : 216.73.216.228 Web Server : nginx System : Linux pod-200961 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200098 ( 200098) PHP Version : 8.2.34 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/questfamilyday/wp-content/plugins/wp-seopress-pro/inc/admin/callbacks/ |
Upload File : |
<?php
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
function seopress_rich_snippets_enable_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rich_snippets_enable']); ?>
<label for="seopress_rich_snippets_enable">
<input id="seopress_rich_snippets_enable" name="seopress_pro_option_name[seopress_rich_snippets_enable]"
type="checkbox" <?php if (true === $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Enable Structured Data Types metabox for your posts, pages and custom post types', 'wp-seopress-pro'); ?>
</label>
<?php if (isset($options['seopress_rich_snippets_enable'])) {
esc_attr($options['seopress_rich_snippets_enable']);
}
}
function seopress_rich_snippets_publisher_logo_callback() {
$options = get_option('seopress_pro_option_name');
$options_set = isset($options['seopress_rich_snippets_publisher_logo']) ? $options['seopress_rich_snippets_publisher_logo'] : null;
$options_set2 = isset($options['seopress_rich_snippets_publisher_logo_width']) ? $options['seopress_rich_snippets_publisher_logo_width'] : null;
$options_set3 = isset($options['seopress_rich_snippets_publisher_logo_height']) ? $options['seopress_rich_snippets_publisher_logo_height'] : null;
$check = isset($options['seopress_rich_snippets_publisher_logo']); ?>
<input id="seopress_rich_snippets_publisher_logo_meta" autocomplete="off" type="text"
value="<?php echo esc_attr($options_set); ?>"
name="seopress_pro_option_name[seopress_rich_snippets_publisher_logo]"
aria-label="<?php esc_html_e('Upload your publisher logo', 'wp-seopress-pro'); ?>"
placeholder="<?php esc_html_e('Select your logo', 'wp-seopress-pro'); ?>" />
<input id="seopress_rich_snippets_publisher_logo_width" type="hidden"
value="<?php echo esc_attr($options_set2); ?>"
name="seopress_pro_option_name[seopress_rich_snippets_publisher_logo_width]" />
<input id="seopress_rich_snippets_publisher_logo_height" type="hidden"
value="<?php echo esc_attr($options_set3); ?>"
name="seopress_pro_option_name[seopress_rich_snippets_publisher_logo_height]" />
<input id="seopress_rich_snippets_publisher_logo_upload" class="btn btnSecondary" type="button"
value="<?php esc_html_e('Upload an Image', 'wp-seopress-pro'); ?>" />
<input id="seopress_rich_snippets_publisher_logo_remove" class="btn btnLink is-deletable" type="button" value="<?php esc_html_e('Remove', 'wp-seopress-pro'); ?>" />
<p class="description">
<?php esc_html_e('A logo that is representative of the organization. Files must be BMP, GIF, JPEG, PNG, WebP or SVG. The image must be 112x112px, at minimum.', 'wp-seopress-pro'); ?>
</p>
<div id="seopress_rich_snippets_publisher_logo_placeholder_upload" class="seopress-img-placeholder" data_caption="<?php esc_html_e('Click to select an image', 'wp-seopress-pro'); ?>">
<img id="seopress_rich_snippets_publisher_logo_placeholder_src" src="<?php echo esc_attr($options_set); ?>" />
</div>
<?php
if (isset($options['seopress_rich_snippets_publisher_logo'])) {
esc_attr($options['seopress_rich_snippets_publisher_logo']);
}
}