Opened 3 years ago
Last modified 2 weeks ago
#13005 accepted enhancement
Add plugin hook for ajax-tag-search
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
I would like to have a new plugin action hook added in the ajax-tag-search section of wp-admin/admin-ajax.php
Attachments (1)
Change History (6)
- Priority changed from normal to high
- Type changed from feature request to enhancement
- Component changed from Plugins to Administration
- Milestone changed from Unassigned to Future Release
- Status changed from new to accepted
This feels like a good thing to do.
I wonder if we shouldn't be using an API to get those rather than having a hardcoded query there.
Moving into Future Release for now but this doesn't mean it will get forgotten :-)
I just came across a need for this (http://wordpress.stackexchange.com/q/95868/1044). bbpress seems to have this functionality (http://bbpress.trac.wordpress.org/attachment/ticket/459/459.3.diff). Maybe we can learn from it?
Note: See
TracTickets for help on using
tickets.

In case it wasn't entirely clear, the goal is to be able to modify the results (suggested tag list) that gets sent back to the ajax call.
Would it make sense to insert something right between to $results=$wpdb->get_col line and the echo join($results,"\n") line?