• mplusplus

    (@mplusplus)


    Hi there

    How to enable all logged-in users (including subscribers, editors, etc.) to add a post of a specific type? (E.g. /wp-admin/post-new.php?post_type=type1).

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Alan Fuller

    (@alanfuller)

    Are you defining the custom post type?

    In which case in the definition you specify ‘capability_type’ and assign that a type e.g. mytype and then you assign that capability to the roles you want

    Roles and Capabilities

    Thread Starter mplusplus

    (@mplusplus)

    Hi @alanfuller

    Do you happen to have a code example to change ‘capability_type’ for a custom post type, please?

    Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to enable any loggedin user (Admin or Not) to add a post of a specific type?’ is closed to new replies.