• Resolved zuk22

    (@zuk22)


    Hi guys
    post_type_exists return false in my plugin function

    Code is very simple, myposttype are registered

    function my_function(){
      if( post_type_exists( 'myposttype' ) ) {
        // code here
      }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘post_type_exists in plugin’ is closed to new replies.