You need to:
-
Hook into the
edited_$taxonomy
action. Just replace$taxonomy
with the name of your custom taxonomy. Based on your example I thinkedited_location
will work for you. -
Create a custom
query_var
to pass on the fact that your taxonomy has changed.
For #2, this answer should get you going. Good luck!
Related Posts:
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- Creating a WordPress admin page without a menu for a plugin
- Plugin development: how to create a form and get custom data?
- Master menu item for multiple plugins?
- wp_verify_nonce() why return false?
- Hide Theme options and Customize Admin menu
- White page on custom plugin option submit
- Suggestions on Approach to New Plugin I’m Stuck On
- creating a plug in that would tap into save/update action of posts [closed]
- Why WP_Screeen doesn’t show all options with admin_body_class
- add_submenu_page returns null
- How do I add an options page at the bottom of the list?
- How to remove a CPT Menu from the Root Admin only
- Admin menu hilighting wrong item for CPT
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- How can I pass value to function in add_menu_page?
- Submitting form to admin-post.php WordPress
- How can I find plugins’ slug?
- My custom made plugin has “a new version available” which links to unrelated plugin
- wp.media update options and force render on uploader
- Where can I find a schema of wordpress plugin core architecture?
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- WordPress Plugin Development from Scratch. How? [closed]
- How to fetch serialized data from wordpress options
- Passing URL parameters to WordPress pages and pretty url
- WordPress network: set themes and plugins for new blog
- How to get the custom page get_permalink?
- Plugin translations problem
- How to call bind function in wordpress actions or hooks
- Change the $parent_file of a plugin page
- WordPress plugin for mail subscriptions [closed]
- Passing RichText attributes to function onChange
- Getting media library popup in custom plugin admin page
- Escape when echoed
- How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]
- WP_Query ordering numbers as letters
- WordPress Automatic Plugin Update Renames Plugin Directory
- ‘wp_login’ action hook not working with wp-login.php file
- HTML in WooCommerce settings
- Can WordPress Plugin Directory Cache Delay the Upload of Images?
- Redirecting to home page after login as custom role WordPress
- Where (or when) should I register a new taxonomy?
- How to change custom post type pemalink Hierarcy
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
- Disable woocommerce cookies and delete cart data automatically
- How can I make my metabox appear?
- Consolidate plugin functionality into a theme
- qTranslate remove default directory from link
- Count posts by type including drafts and pending posts
- Redirect to another page using contact form 7? [closed]
- List the authors that have written posts in a category
- My custom plugin did not create db tables in database
- Separate database for a wordpress plugin
- WordPress Multisite: Programmatically Activate / Deactivate a Plugin of a Specific Blog
- remove all submenus from plugin
- Plugin Admin Menu Boiler Plate
- composer not working on my plugin when i upload it to my website
- What is the WordPress approach to custom data?
- WordPress Fatal Errors [closed]
- YOAST Seo xmlsitemap menu item not showing in the dashboard [closed]
- Possible?? Pull Plugin Property Data to a Theme’s Custom Post Type
- How to render a template file using shortcode inside a plugin
- How to rewrite URL and get the values?
- Delete data from custom table when deleting a post
- Disable plugin visibility at the plugin directory
- Plugin is creating posts twice
- How to deactivate my plugin upon deactivation of NextGen
- How do I reliably find a URL to a script or other file?
- Widgets are not displaying in the admin panel
- How to overwrite the category template in a plugin
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- Fixed: Console.log twice in the edit function
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- show wc_add notices on particular page in woo commerce custom plugin development
- How to write different events from different functions in my file to a log file in WordPress
- Create a form and have custom menu display based on user answers?
- How to make a plugin api route have permission?
- Why my multisite is this slow? (stats inside)
- Modify Plugin PHP Class in Child Theme – Correct Method
- How to use custom footer template in a site-plugin?
- Problem with conditional woocommerce custom checkout field
- trying to create simple plugin to filter categories from all authors
- Change wp_mail SMTP settings for each E-Mail
- Proper Failure of Plugin Activation
- WordPress Thumbnail add action if no thumbnail
- How can I add the custom taxonomy categories to the posts and pages?
- Creating fields in the database
- Pass strings to plugin function [closed]
- How to create a page template using custom plugin
- WordPress 3,5 and Jquery version
- contact form 7 captcha support anyother captcha plugin? [closed]
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Update Content for a Custom Block Toolbar Button
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Wrong block appender button showing
- Uncaught Error: Cannot use object of type stdClass while showing the list using WP_List_Table
- WordPress Throwing Deprecated Errors on its own Files