Support » Alpha/Beta/RC » Custom post types and add_cap()

  • Resolved rudolf


    I’m trying to create a custom post type that only certain user roles can access. For example, if I specify 'capability_type' => 'podcast' when I register the podcast custom post type, should I then be able to do this?

    $role =& get_role('administrator');

    It doesn’t seem to be working for me; the new podcast post type doesn’t show up in the left-hand menu.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom post types and add_cap()’ is closed to new replies.