Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : product-premium.php
<?php
/**
 * WPSEO Premium plugin file.
 *
 * @package WPSEO\Premium\Classes
 */

if ( class_exists( 'Yoast_Product' ) && ! class_exists( 'WPSEO_Product_Premium', false ) ) {

	/**
	 * Class WPSEO_Product_Premium
	 */
	class WPSEO_Product_Premium extends Yoast_Product {

		/**
		 * Plugin author name.
		 *
		 * @var string
		 */
		const PLUGIN_AUTHOR = 'Yoast';

		/**
		 * License endpoint.
		 *
		 * @var string
		 */
		const EDD_STORE_URL = 'http://my.yoast.com';

		/**
		 * Product name to use for license checks.
		 *
		 * @var string
		 */
		const EDD_PLUGIN_NAME = 'Yoast SEO Premium';

		/**
		 * Construct the Product Premium class
		 */
		public function __construct() {
			$file = plugin_basename( WPSEO_FILE );
			$slug = dirname( $file );

			parent::__construct(
				trailingslashit( self::EDD_STORE_URL ) . 'edd-sl-api',
				self::EDD_PLUGIN_NAME,
				$slug,
				WPSEO_Premium::PLUGIN_VERSION_NAME,
				'https://yoast.com/wordpress/plugins/seo-premium/',
				'admin.php?page=wpseo_licenses#top#licenses',
				'wordpress-seo',
				self::PLUGIN_AUTHOR,
				$file
			);

			if ( method_exists( $this, 'set_extension_url' ) ) {
				$this->set_extension_url( 'https://my.yoast.com/licenses/' );
			}
		}
	}
}
© 2025 XylotrechusZ