| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/product-helper.php.tar |
home/xbodynamge/lebauwcentre/wp-content/plugins/wordpress-seo/src/helpers/product-helper.php 0000644 00000001715 15114053010 0026575 0 ustar 00 <?php
namespace Yoast\WP\SEO\Helpers;
/**
* A helper object for the Yoast products.
*/
class Product_Helper {
/**
* Gets the product name.
*
* @return string
*/
public function get_product_name() {
if ( $this->is_premium() ) {
return 'Yoast SEO Premium';
}
return 'Yoast SEO';
}
/**
* Gets the product name in the head section.
*
* @return string
*/
public function get_name() {
return $this->get_product_name() . ' plugin';
}
/**
* Checks if the installed version is Yoast SEO Premium.
*
* @return bool True when is premium.
*/
public function is_premium() {
return \defined( 'WPSEO_PREMIUM_FILE' );
}
/**
* Gets the Premium version if defined, returns null otherwise.
*
* @return string|null The Premium version or null when premium version is not defined.
*/
public function get_premium_version() {
if ( \defined( 'WPSEO_PREMIUM_VERSION' ) ) {
return \WPSEO_PREMIUM_VERSION;
}
return null;
}
}
home/xbodynamge/crosstraining/wp-content/plugins/wordpress-seo/src/helpers/product-helper.php 0000644 00000001715 15114332564 0027020 0 ustar 00 <?php
namespace Yoast\WP\SEO\Helpers;
/**
* A helper object for the Yoast products.
*/
class Product_Helper {
/**
* Gets the product name.
*
* @return string
*/
public function get_product_name() {
if ( $this->is_premium() ) {
return 'Yoast SEO Premium';
}
return 'Yoast SEO';
}
/**
* Gets the product name in the head section.
*
* @return string
*/
public function get_name() {
return $this->get_product_name() . ' plugin';
}
/**
* Checks if the installed version is Yoast SEO Premium.
*
* @return bool True when is premium.
*/
public function is_premium() {
return \defined( 'WPSEO_PREMIUM_FILE' );
}
/**
* Gets the Premium version if defined, returns null otherwise.
*
* @return string|null The Premium version or null when premium version is not defined.
*/
public function get_premium_version() {
if ( \defined( 'WPSEO_PREMIUM_VERSION' ) ) {
return \WPSEO_PREMIUM_VERSION;
}
return null;
}
}
home/xbodynamge/www/wp-content/plugins/wordpress-seo/src/helpers/product-helper.php 0000644 00000001715 15114465612 0024760 0 ustar 00 <?php
namespace Yoast\WP\SEO\Helpers;
/**
* A helper object for the Yoast products.
*/
class Product_Helper {
/**
* Gets the product name.
*
* @return string
*/
public function get_product_name() {
if ( $this->is_premium() ) {
return 'Yoast SEO Premium';
}
return 'Yoast SEO';
}
/**
* Gets the product name in the head section.
*
* @return string
*/
public function get_name() {
return $this->get_product_name() . ' plugin';
}
/**
* Checks if the installed version is Yoast SEO Premium.
*
* @return bool True when is premium.
*/
public function is_premium() {
return \defined( 'WPSEO_PREMIUM_FILE' );
}
/**
* Gets the Premium version if defined, returns null otherwise.
*
* @return string|null The Premium version or null when premium version is not defined.
*/
public function get_premium_version() {
if ( \defined( 'WPSEO_PREMIUM_VERSION' ) ) {
return \WPSEO_PREMIUM_VERSION;
}
return null;
}
}
home/xbodynamge/namtation/wp-content/plugins/wordpress-seo/src/helpers/product-helper.php 0000644 00000001715 15114564363 0026131 0 ustar 00 <?php
namespace Yoast\WP\SEO\Helpers;
/**
* A helper object for the Yoast products.
*/
class Product_Helper {
/**
* Gets the product name.
*
* @return string
*/
public function get_product_name() {
if ( $this->is_premium() ) {
return 'Yoast SEO Premium';
}
return 'Yoast SEO';
}
/**
* Gets the product name in the head section.
*
* @return string
*/
public function get_name() {
return $this->get_product_name() . ' plugin';
}
/**
* Checks if the installed version is Yoast SEO Premium.
*
* @return bool True when is premium.
*/
public function is_premium() {
return \defined( 'WPSEO_PREMIUM_FILE' );
}
/**
* Gets the Premium version if defined, returns null otherwise.
*
* @return string|null The Premium version or null when premium version is not defined.
*/
public function get_premium_version() {
if ( \defined( 'WPSEO_PREMIUM_VERSION' ) ) {
return \WPSEO_PREMIUM_VERSION;
}
return null;
}
}