Admin Search
Admin Search makes searching your WordPress website easy by bringing results from all your post types, media, taxonomies, comments, users and admin pages together in a single, simple-to-use interface, seamlessly integrated into the WordPress admin interface. Choose which post types and taxonomies are searched and the number of results displayed for each. Admin Search also supports custom post types and taxonomies. Admin Search is a lightweight plugin with filter hooks for deep customization. Features Search everything on your WordPress site, anywhere Simple and easy to use Sources of search results are customizable Extend the search query with filter hooks Configure & Extend Admin Search can be extended by using filter hooks. The following filters are available: admin_search_query to modify the search query string. The filter argument supplied is a string containing the search query admin_search_sources to modify the search sources. The filter argument supplied is an array of sources, add, remove or modify sources admin_search_posts_query to modify the WP_Query arguments array for all searched post types. The filter argument supplied is an array of WP_Query arguments, add, remove or modify supported arguments admin_search_{Post Type}_query to modify the WP_Query arguments array for a specific post type. The filter argument supplied is an array of WP_Query arguments, add, remove or modify supported arguments. Replace {Post Type} with the name of the post type to modify admin_search_terms_query to modify the get_terms arguments array for all searched terms (taxonomies). The filter argument supplied is an array of get_terms arguments, add, remove or modify supported arguments admin_search_{Term}_query to modify the get_terms arguments array for a specific term (taxonomy). The filter argument supplied is an array of get_terms arguments, add, remove or modify supported arguments. Replace {Term} with the name of the term to modify admin_search_comments_query to modify the WP_Comment_Query arguments array for all searched comments. The filter argument supplied is an array of WP_Comment_Query arguments, add, remove or modify supported arguments admin_search_users_query to modify the WP_User_Query arguments array for all searched users. The filter argument supplied is an array of admin_search_users_query arguments, add, remove or modify supported arguments admin_search_website_titles to modify the labels array for external websites. The filter argument supplied is an array of predefined domains and titles, add, remove or modify domains and titles admin_search_pre_results and admin_search_post_results to modify the results array before or after results are appended to the array. The filter argument supplied is an empty array for admin_search_pre_results or search results for a given query for admin_search_post_results, add, remove or modify result items admin_search_fields to modify the searchable fields array. The filter argument supplied is an array of searchable fields (post_title, post_name, post_excerpt and post_content) admin_search_meta_queries to add custom fields to the searchable fields array. The filter argument supplied is an empty array. Use this filter instead of admin_search_fields when adding custom fields Examples: Modify the query string before a search is initiated // Correct the spelling of dog when searching add_filter( 'admin_search_query', function( $query ) { if ( 'dog' === $query ) { $query = 'doggo'; } return $query; } ); Modify the WP_Query parameters before a search is initiated // Exclude post with the ID 96 add_filter( 'admin_search_posts_query', function( $query ) { $query['post__not_in'] = array( 96 ); return $query; } ); Add a custom field to the searchable fields // Add the price custom field to the searchable fields add_filter( 'admin_search_meta_queries', function( $fields, $post_type ) { if ( 'post' === $post_type ) { $fields[] = 'price'; } return $fields; }, 10, 2 ); Modify the search results after a search has initiated // Add custom results from external API add_filter( 'admin_search_post_results', function( $results, $q ) { $results[ 'custom' ][ 'post_type' ] => array( 'name' => 'custom', 'label' => 'Custom' ); $json = file_get_contents( 'https://example.com?search=' . $q ); $obj = json_decode( $json ); foreach ( $obj as $item ) { $results[ 'custom' ][ 'posts' ][] = array( … ); } return $results; }, 10, 2 );
Top keywords
- search37×5.39%
- query28×4.08%
- array25×3.64%
- modify25×3.64%
- admin23×3.35%
- admin search21×3.06%
- filter20×2.92%
- arguments18×2.62%
- post18×2.62%
- add17×2.48%
- results16×2.33%
- argument12×1.75%
WPMasterToolKit (WPMTK) – All in one plugin
WP Master ToolKit is your all-in-one solution for optimizing WordPress. It streamlines your dashboard, enhances workflows, and simplifies content and settings management. Customize your WordPress installation effortlessly with all the tools you need at your fingertips. Test by Alexis Fichou (WP-Origami) : Test by Enzo (Easy WordPress) : 97 FREE modules Adminer: A full-featured database management tool. Advanced Debug Mode Allow Menu Custom Links to Open in New Tab. Apple Touch Icon: Manage app icon (Apple Touch Icon) individually. Auto Regenerate Salt Keys. Auto-Publish Posts with Missed Schedule: Automatically publish scheduled posts marked as "missed schedule" across all post types. Ban Emails: Ban the chosen emails. Blacklisted Usernames: Prevent creation of user accounts with predefined blacklisted or common usernames. Block User Registration from Disposable Email: Block user registration from temporary disposable email addresses. Block 404 PHP File Scanning Browser Theme Color: Select a tag color to allow seamless theme customization in all major browsers. Child theme generator: Generate a child theme directly from WordPress dashboard. Clean Profiles: Tidy up user profiles by removing sections you do not utilise. Clean Up Admin Bar. Code Snippets: Add custom code snippets without editing the theme’s functions.php. Content Duplication: One-click duplication of pages, posts and custom post types with taxonomy terms and post meta. Content Order: Custom ordering for hierarchical content types and those supporting page attributes. Custom Admin CSS: Add custom CSS on all admin pages for all user roles. Custom Body Class: Add custom class(es) on the singular view of some or all public post types. Custom COOKIEHASH Custom Frontend CSS: Add custom CSS on all frontend pages for all user roles. Disable All Updates: Completely disable core, theme and plugin updates and auto-updates. Will also disable update checks, notices and emails. Disable Block-Based Widgets Settings Screen: Restore classic widgets settings screen for non-block themes. Disable Dashboard Widgets: Clean up and speed up dashboard by disabling widgets that won’t load assets. Disable Feeds: Disable RSS, Atom, and RDF feeds and remove feed URL references from section. Disable Gutenberg: Selectively disable Gutenberg block editor for specific or all post types. Disable REST API: Disable REST API for non-authenticated users and remove URL traces. Disable Really Simple Discovery (RSD) tag: Remove RSD tag used by XML-RPC clients. Disable WP Sitemap: Disable the default WordPress sitemap. Disable Windows Live Writer (WLW) manifest tag: Remove discontinued WLW manifest tag. Disable WordPress shortlink tag: Remove WordPress shortlink tag from . Disable XML-RPC. Disable cart fragments scripts: Disable WooCommerce cart fragments scripts for public visitors. Disable dashicons CSS and JS files. Disable emoji support: Remove emoji scripts as modern browsers natively support emojis. Disable jQuery Migrate: Removes the jQuery Migrate script from the frontend of your site. Disable wp_mail: Disable WordPress email function to save resources on sites that don’t send emails. Disallow Bad Requests: Block malicious requests containing eval(, base64_, and excessively long strings. Disallow Dir Listing: Disable the listing of the directories. Disallow Malicious File Access in upload: Prevent malicious file access in upload directory. Disallow Plugin Upload: Disable plugin zip file uploads. Disallow Theme Upload: Disable theme zip file uploads. Disallow WP File Edit: Prevent core file modifications through admin panel. Disallow register user: Prevent new user account creation via WordPress registration form. Duplicate Menu: Easily duplicate your WordPress Menus Enhance List Tables: Add or remove columns in listing pages for post types, taxonomies, media, comments and users. Export Posts & Pages: Export posts and pages to CSV format. Export Users: Export user data to CSV format. External Permalinks: Set permalinks to external URLs with rel="noopener noreferrer nofollow" attributes. File Manager: Browse and manage files efficiently. Force SSL: Force HTTPS for encrypted secure traffic. Force Strong Password: Enforce strong passwords for all users to prevent weak credentials. Heartbeat Control: Modify or disable WordPress heartbeat API to reduce server CPU load. Hide Admin Bar: Hide admin bar on frontend for specific roles or all users. Hide Admin Notices: Gather all notifications in a popup accessible from top-right bell icon. Hide Login Errors: Hide default WordPress login error messages. Hide PHP Versions: Remove X-Powered-By header that reveals PHP version to potential attackers. Hide WordPress Version Image Upload Control: Resize large images, convert BMPs and PNGs to JPGs, delete originals. Insert , and Code: Insert tracking pixels, analytics, meta tags, and custom scripts. Last Login Column: Display last login date and time in users list table. Limit Login Attempts: Prevent brute force attacks by limiting failed login attempts per IP. Local avatars: Replaces GRAVATAR management with media management. Lock Admin Email: Prevent admin email address modifications. Lock Site URL: Prevent site URL modifications. Log In/Out Menu: Add dynamic login/logout menu items. Mail Catcher: Capture all outgoing emails. Maintenance Mode: Display customizable maintenance page. Administrators can still access the site. Manage ads.txt and app-ads.txt: Edit and validate ads.txt files. Manage robots.txt: Edit and validate robots.txt file. Media Cleaner: Sanitize file names and auto-generate metadata (title, caption, alt text, description). Media Encoder: Automatically convert images to WebP (AVIF in PRO). Meta Debugger: Display all metadata for a post, user, term, or comment. Move Login URL: Change the default login URL to a custom URL of your choice. Multiple User Roles: Assign multiple roles per user, useful for e-commerce or LMS plugins. Nav Menu Visibility: Apply visibility controls to menu items. Obfuscate Author Slugs: Hide user slugs in author URLs and REST API endpoints. Obfuscate Email Addresses: Protect emails from spam bots via [wpm_obfuscate] shortcode. Open All External Links in New Tab: Open external links in new tab with security attributes. Password Protection: Password-protect entire site from public and search engines. Admins retain access. Plugin & Theme Rollback: Revert plugins/themes to previous WordPress.org versions. Post Per Page: Set posts per page for each post type. Prevent User Enumeration: Block user enumeration via ?author= and REST API. Protect Website Headers: Add security headers to protect against phishing and data theft. Quick Add Post: Quick button to add new posts faster. Redirect 404 to Homepage: Redirect non-existent pages to homepage. Redirect After Login Redirect After Logout Redirect Manager Revisions Control: Limit number of revisions saved per post type. Register Custom Content Types: Register custom post types and taxonomies. Search Replace in database SMTP Mailer: Configure sender name/email and external SMTP for reliable email delivery. SVG Upload: Enable SVG file uploads. Temporary Login Wider Admin Menu 31 Pro Modules 410 Manager Add Essentials Shortcodes Admin Menu Organizer Auto clean actionscheduler_actions: Clean actionscheduler_actions database table from actions that have been completed | failed | cancelled. Better Password Hash Password Expiration CRON Manager: Manage cron events on your website. Change Database Prefix: Quickly change your WordPress database prefix to save time and enhance security. Custom Login Design: Personalize your login page to match your brand. Disable Comments: Manage the visibility of comments on your public posts by selectively disabling them for specific post types or across all posts. Disable Plugin For Debug: Temporarily disable specific plugins to troubleshoot and debug issues on your WordPress site without uninstalling. Disable Woocommerce Logout Confirmation Disallow Access WP Sensible Files: Delete the wp-config-sample.php, block access to readme.html, license.txt Disallow Countries IP Download medias as zip Force Send All Email To: Force all emails sent from your website to be sent to a specific email address. Generate Alt Text With AI: Automatically generate alternative text using AI. Head Sorter: Automatically sorts and optimizes the of your website, making sure important tags load first for better speed and SEO. Hook And Filter Debugger: Displaying the sequence of action and filter hooks by their origin on a single page. Link Shortener: Shorten your links with a custom prefix. You can also track the number of clicks on each link. Manage Admin Emails Notifications: Check the types of emails you no longer want to receive as an administrator. Media Replacement My Account Menu Customizer: for WooCommerce My Account page. No Plugin Activation / Deactivation / Deletion: Prevents plugin activation, deactivation, and deletion for enhanced security. Paste Image In Media: With this feature you can paste directly your picture in WordPress media. Plugin Download: Download plugins from the plugins page in the WordPress admin panel. Post Type Switcher Two Factor Authentication Updates Logs: Track and record the most recent login activity of site users, then showcase the date and time in the users list table User Switching Vulnerabilities Scan PRO Additionnals Features Move Login URL: Block access to /wp-admin with server side 403 error for non-logged users. Maintenance Mode: Real countdown timer with automatic site activation. Bypass link generation for access during maintenance. Exclude specific URLs from maintenance mode. Media Encoder: Convert images to AVIF format (PHP ≥ 8.1). Free version limited to WebP only. Mail Catcher: Unlimited email capture. Free version limited to 5 emails per day. Advanced Debug Mode: Live log streaming viewer with real-time monitoring. Daily logs with date suffix. Custom log path with enhanced protection. Search Replace in database: several search/replace pairs, support for regular expressions and a much more complete detailed overview of detected changes. SMTP Mailer: 19+ premium providers including Gmail, Outlook, SendGrid, AWS SES, Brevo, Mailgun, Mailjet, Postmark, SparkPost, MailerSend, Resend, SendLayer, SMTP.com, SMTP2GO, Elastic Email, Zoho Mail, SendPulse, Mandrill, and Pepipost. Free version limited to PHP mail and generic SMTP. Redirect Manager: Advanced redirect engines (Apache and Nginx), redirect logs, and CSV import/export. Free version limited to WordPress (PHP) redirects without logs/import-export. ⭐️ UPGRADE TO PRO VERSION: WPMasterToolKit Pro ⭐️ Other plugin by Webdeclic Webdeclic is a French web agency based in Paris. We are specialized in the creation of websites and e-commerce sites. We are also the creator of the following plugins: * QuickWebP * Cookie Dough * Univeral Honey Pot * Clean My WP * Mentions Legales Par Webdeclic * Lexilink * Show all plugins on WordPress.org