| Server IP : 104.26.3.156 / Your IP : 216.73.216.185 Web Server : nginx/1.27.1 System : Linux us-1 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 User : vinodai ( 3134) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v1396/themastermyndnew/public_html/wp-content/plugins/jetpack/modules/ |
Upload File : |
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Module Name: Search
* Module Description: Instantly deliver the most relevant results to your visitors.
* First Introduced: 5.0
* Sort Order: 34
* Free: false
* Requires Connection: Yes
* Auto Activate: No
* Feature: Search
* Additional Search Queries: search, elastic, elastic search, elasticsearch, fast search, search results, search performance, google search
* Plans: business, complete
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Search\Classic_Search;
use Automattic\Jetpack\Search\Helper as Search_Helper;
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
/**
* These are old legacy class names that were deprecated due to the move to packages.
*
* @todo Does this make more sense as a legacy dir in the search package?
*/
/**
* Jetpack Search deprecated class.
*
* @deprecated 10.6
*/
class Jetpack_Search {
/**
* Singleton
*/
protected function __construct() {
}
/**
* Return the instance of the new class.
*/
public static function instance() {
// Explicitly provide the blog ID, just in case.
return Classic_Search::instance( Search_Helper::get_wpcom_site_id() );
}
}