custom taxonomy - Refresh Taxonomies

When savingupdating a custom post type in the Admin Panel I'm hooking into save_post_{$post->post_type} and add

When saving/updating a custom post type in the Admin Panel I'm hooking into save_post_{$post->post_type} and adding custom taxonomy terms from a linked post using wp_set_object_terms. The terms are added OK but to see them in the UI I have to refresh the page as the Update button just performs an Ajax call instead of a reload.

Is it possible to either hook into the Ajax and force a refresh of the taxonomy boxes or set Wordpress to use a normal submit/reload instead of Ajax for Save/Update?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745250379a4618643.html

相关推荐

  • custom taxonomy - Refresh Taxonomies

    When savingupdating a custom post type in the Admin Panel I'm hooking into save_post_{$post->post_type} and add

    3小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信