最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

custom taxonomy - Refresh Taxonomies

programmeradmin0浏览0评论

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?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论