w indexability status. * * @return void */ private function unschedule_cron() { if ( ! wp_next_scheduled( 'wpseo_ryte_fetch' ) ) { return; } wp_clear_scheduled_hook( 'wpseo_ryte_fetch' ); } /** * Checks if WordFence protects the site against 'fake' Google crawlers. * * @return boolean True if WordFence protects the site. */ private function wordfence_protection_enabled() { if ( ! class_exists( 'wfConfig' ) ) { return false; } if ( ! method_exists( 'wfConfig', 'get' ) ) { return false; } return (bool) wfConfig::get( 'blockFakeBots' ); } /** * Retrieves the Ryte API response property. * * @return array|WP_Error The response or WP_Error on failure. */ public function get_response() { return $this->ryte_response; } }