Server IP : 104.21.14.48 / Your IP : 52.15.219.15 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Helpers; /** * A helper object for WordProof integration. * * @deprecated 22.10 * @codeCoverageIgnore */ class Wordproof_Helper { /** * Holds the Current Page helper instance. * * @var Current_Page_Helper */ protected $current_page; /** * Holds the WooCommerce helper instance. * * @var Woocommerce_Helper */ protected $woocommerce; /** * Holds the Options Page helper instance. * * @var Options_Helper */ protected $options; /** * WordProof_Helper constructor. * * @deprecated 22.10 * @codeCoverageIgnore * * @param Current_Page_Helper $current_page The current page helper. * @param Woocommerce_Helper $woocommerce The woocommerce helper. * @param Options_Helper $options The options helper. */ public function __construct( Current_Page_Helper $current_page, Woocommerce_Helper $woocommerce, Options_Helper $options ) { \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' ); $this->current_page = $current_page; $this->woocommerce = $woocommerce; $this->options = $options; } /** * Remove site options after disabling the integration. * * @deprecated 22.10 * @codeCoverageIgnore * * @return bool Returns if the options are deleted */ public function remove_site_options() { \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' ); return \delete_site_option( 'wordproof_access_token' ) && \delete_site_option( 'wordproof_source_id' ); } /** * Returns if conditionals are met. If not, the integration should be disabled. * * @deprecated 22.10 * @codeCoverageIgnore * * @param bool $return_conditional If the conditional class name that was unmet should be returned. * * @return bool|string Returns if the integration should be disabled. */ public function integration_is_disabled( $return_conditional = false ) { \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' ); return true; } /** * Returns if the WordProof integration toggle is turned on. * * @deprecated 22.10 * @codeCoverageIgnore * * @return bool Returns if the integration toggle is set to true if conditionals are met. */ public function integration_is_active() { \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' ); return false; } /** * Return if WordProof should be active for this post editor page. * * @deprecated 22.10 * @codeCoverageIgnore * * @return bool Returns if WordProof should be active for this page. */ public function is_active() { \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' ); return false; } }