File Editor
Directories:
.. (Back)
carousel
cloudflare-analytics
comment-likes
comments
custom-css
custom-post-types
geo-location
google-fonts
gravatar
infinite-scroll
likes
markdown
masterbar
memberships
photon-cdn
plugin-search
post-by-email
related-posts
scan
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
sso
stats
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-tos
Files:
blaze.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
custom-css.php
geo-location.php
google-fonts.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
likes.php
markdown.php
masterbar.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
post-list.php
protect.php
publicize.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
waf.php
widget-visibility.php
widgets.php
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: search.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Module Name: Search * Module Description: Help visitors quickly find answers with highly relevant instant search results and powerful filtering. * 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; /** * 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() ); } }
Save Changes
Rename File
Rename