AlkantarClanX12
Current Path : /home/thanudqk/thepball.com/wp-content/plugins/wordpress-seo/src/helpers/ |
Current File : /home/thanudqk/thepball.com/wp-content/plugins/wordpress-seo/src/helpers/product-helper.php |
<?php namespace Yoast\WP\SEO\Helpers; use WPSEO_Utils; /** * A helper object for the Yoast products. */ class Product_Helper { /** * Get the product name in the head section. * * @return string */ public function get_name() { if ( $this->is_premium() ) { return 'Yoast SEO Premium plugin'; } return 'Yoast SEO plugin'; } /** * Checks if the installed version is Yoast SEO Premium. * * @codeCoverageIgnore It just wraps a static method. * * @return bool True when is premium. */ public function is_premium() { return WPSEO_Utils::is_yoast_seo_premium(); } }