File: /home/healthbenefitapproval/public_html/wp-content/plugins/wp-seopress/inc/admin/blocks/upsell.php
<?php
// To prevent calling the plugin directly
if ( ! function_exists('add_action')) {
echo 'Please don’t call the plugin directly. Thanks :)';
exit;
}
if (defined('SEOPRESS_WL_ADMIN_HEADER') && SEOPRESS_WL_ADMIN_HEADER === false) {
//do nothing
} else {
$class = '1' !== seopress_get_service('NoticeOption')->getNoticeGoInsights() ? 'is-active' : '';
if (! is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
$docs = seopress_get_docs_links();
?>
<div id="notice-go-insights-alert" class="seopress-upsell seopress-upsell-insights seopress-card <?php echo $class; ?>" style="display: none">
<div class="seopress-card-title">
<img src="<?php echo SEOPRESS_ASSETS_DIR . '/img/logo-seopress-insights-square-alt.svg'; ?>" width="56" height="56" alt=""/>
<h2><?php _e('Discover SEOPress Insights, off-site SEO plugin for WordPress!', 'wp-seopress'); ?></h2>
</div>
<div class="seopress-card-content">
<p><?php _e('Rank & Backlink Tracking directly in your WordPress admin with competition, Google Trends, email and Slack notifications.', 'wp-seopress'); ?></p>
<a href="<?php echo $docs['addons']['insights']; ?>" target="_blank" class="seopress-btn seopress-btn-primary">
<?php _e('Upgrade now!','wp-seopress'); ?>
</a>
</div>
</div>
<?php
}
$class = '1' !== seopress_get_service('NoticeOption')->getNoticeGoPro() ? 'is-active' : '';
if (! is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
<div id="notice-go-pro-alert" class="seopress-upsell seopress-upsell-pro seopress-card <?php echo $class; ?>" style="display: none">
<div class="seopress-card-title">
<img src="<?php echo SEOPRESS_ASSETS_DIR . '/img/logo-seopress-pro-square-alt.svg'; ?>" width="56" height="56" alt=""/>
<h2><?php _e('Take your SEO to the next level with SEOPress PRO!', 'wp-seopress'); ?></h2>
</div>
<div class="seopress-card-content">
<p><?php _e('The PRO version of SEOPress allows you to easily manage your structured data (schemas), use the power of AI to optimize SEO metadata, add a breadcrumb optimized for SEO and accessibility, improve SEO for WooCommerce, gain productivity with our import / export tool from a CSV of your metadata and so much more.', 'wp-seopress'); ?></p>
<a href="<?php echo $docs['addons']['pro']; ?>" target="_blank" class="seopress-btn seopress-btn-primary">
<?php _e('Upgrade now!','wp-seopress'); ?>
</a>
</div>
</div>
<?php }
}