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
评论列表(0条)