How to correctly determine whether a post-type is active in a given blog in a wordpress multisite

后端 未结 0 1622
忘掉有多难
忘掉有多难 2020-12-05 11:33

If I register a post type for example like this:

function setup_post_type() {
    $args = array(
        \'public\'            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题