When user starts typing something into tag input, JavaScript makes request to admin-ajax.php
with action
set to ajax-tag-search
to receive list of suggestions (if any).
In that file that action is recognized as belonging to core and wp_ajax_tag_search()
function is added to dynamically generated wp_ajax_ajax-tag-search
hook, which fires almost immediately after that.
Looking at source of the function it is rather inflexible (no filters or anything), but since it echoes results (new line delimited list of suggestions) and dies – you don’t even need to bother with it.
Just make your own version of function for tag suggestion logic and hook it at earlier priority (also dying at end so that native one is never reached).
Related Posts:
- Custom taxonomy admin description
- Change admin bar to default:off
- Styling Shortcodes in Visual Editor
- How to add filter in “Comments” at the admin panel?
- Taxonomy/category hierarchy lost when editing posts [closed]
- How do I set up a webhook?
- Adding custom Javascript to the head tag in Admin
- How to retain HTML5 Attributes on Markup
- Gallery Settings Change available Columns
- Change post title during post saving process
- How to add_filter/action to comment out CSS generated by admin function?
- Custom taxonomy admin page
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- What is the optimal way to filter out subpages from admin?
- user-new.php less detailed after WP3.1; how to revert?
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Adding text in more than one language (at the same time)
- Admin Taxonomy Terms – Orderby Term Field
- Filtering *out* a taxonomy from the admin post list
- Admin search post meta
- Redirect to another page using contact form 7? [closed]
- WordPress 3.1’s admin bar disappears only leaving its 28 px padding (in ubuntu)!
- Hide post title input for all roles except admin
- Filter WooCommerce Orders
- Weird jquery problem when upgrade to WordPress 3.1
- How to create custom backend admin menu in different languages?
- Post filter with multiple checkbox taxonomy terms
- Admin view: filter posts by whether they have specific taxonomy attached
- How to retain HTML5 Attributes on Markup
- Can I show the tag admin interface on a post when logged in as an admin?
- Remove “minor-publishing” div from Publish admin metabox
- Background image in login showing in admin area
- local WAMP admin user has lost privileges
- Choose options via url
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- Create advanced portal website with sections – taxonomy usage?
- If the only thing I use MySQL for is WordPress, do I need MySQL’s timezone tables?
- blank white page in admin, white space hunting?
- WYSIWYG editor not in a post editor?
- Change pagination in editing posts [duplicate]
- WordPress blog code format
- Custom Query for Taxonomy
- htaccess and htpasswd
- How to cancel redirection to admin side
- plugin to upload to youtube via wordpress [closed]
- Add a filter to a different custom plugin
- Hiding the media-new.php File URL option via jQuery
- Removing the advanced menu properties
- Is it possible to get rid of admin new updates notifications?
- After upgrading WordPress, can’t access admin interface
- Exclude admin from the top commenters list [duplicate]
- Troubleshooting white screen when editing specific posts
- How to fix: Clicking ‘Quick Edit’ link in Admin (edit.php) makes posts disappear?
- How to fix broken admin Thickbox?
- Buddypress send admin notification email when new subscriber registers
- send information from the thickbox image uploader second tab
- Getting the terms from “Beautiful Taxonomy Filters” Results ot Integrate into “Ajax Load More”
- Adding a third custom taxonomies
- Query multiple post of which one by taxonomy
- Create users via PHP
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- New User Notification – Setting Email
- My Account Lost Administrator permission
- Show parent-child relationship for categories in the wordpress admin
- WordPress admin panel is blank
- I don’t have permission to save the theme options I created myself?
- Can’t access my wp admin: captcha images invisible, gives me error message
- Use the wordpress admin table
- Remove pipe in views admin page filter
- Taxonomy Category category.php not working
- Pull Random Images From Options Page [closed]
- Content is displayed under admin bar [closed]
- Cant enter admin page with SSL
- Woocommerce custom taxonomy order
- deploying a standard build of wordpress in WHM/cPanel
- You do not have permission to access this document on form submit
- Custom Search only for my Custom Taxonomy Page – data
- Different customer login form than administrator login form?
- Private messaging plugins + custom admin
- Add variable : 1 Week ago
- Woo Commerce Settings for Check-out Form [closed]
- How to Add Extra Text In WordPress Title Before Post Publish
- Filtered dropdown for author?
- Add custom css class to wp-list-table row for custom post type
- Custom column with post ID not working in CPT
- Change order of the block editor’s panel
- How to add filters to my site?
- How to enforce authentication for all resources?
- Mixed language in admin backend
- What Role to assign remote site developer?
- 2FA for admin login only, is it doable?
- Add a user to edit the layout of a site
- I need to get all categories from a WP_Query
- CSS Styles specific to Admin Sidebar not loading
- 500 error for regular users, not for admin
- Display admin sidebar into custom post pages if logged
- Display notice in block editor after wp_insert_post_data hook
- Modify ‘the_content’ appearance in the admin area
- Display taxonomy terms when adding a link in the admin
- WordPress site down for my IP only after trying to implement .htaccess whitelist