Support

Account

Home Forums ACF PRO get_post_types( array( '_builtin' => false ) ) Reply To: get_post_types( array( '_builtin' => false ) )

  • Hi @mmjaeger

    If you want to show your custom post type only, you can use this code:

    get_post_types( array( 'public' => true, '_builtin' => false ) )

    If not, you can always use unset() to remove ACF’s custom post types.

    I hope this helps.