Support » Plugin: Simple Taxonomy Ordering » Add Action to after Taxonomy Order is saved

  • Resolved d4mation

    (@d4mation)


    Due to the use of wp_send_json_success(), execution dies after the Taxonomy Ordering has been saved via Ajax. This means you cannot hook into the same place as the Ajax Callback at a later priority to do things.

    If a do_action() call were added just before wp_send_json_success(), then developers could run code after the Taxonomy Ordering has been saved.

    I need to do this for a current project, so I’ve made a Pull Request on your GitHub Repo. šŸ™‚

    https://github.com/yikesinc/yikes-inc-simple-taxonomy-ordering/pull/19

    • This topic was modified 1 year, 3 months ago by d4mation. Reason: Added link to PR
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Action to after Taxonomy Order is saved’ is closed to new replies.