• Resolved mrwassen

    (@dwl003)


    Hi Pippen,

    Great plugin – thanks!

    One feature request (and/or request for workaround): I would like to be able to automatically assign a role when a new page or post is created, e.g. all posts should by default be assigned to the “Subscriber” role. To keep things simple this could apply to standard pages and posts only.

    Alternatively, would you be able to let me know the “hook” I can use to put an action in functions.php of my child theme to automate this?

    Any help appreciated.

    Thanks

    Dennis

Viewing 1 replies (of 1 total)
  • Hi Dennis!

    This isn’t something we currently support.

    If you wanted to add it, you can take a look at the metabox.php file inside of the plugin to see how that information is set up and stored.

    Using the save_post hook, you can add the necessary meta values anytime a post is created.

Viewing 1 replies (of 1 total)
  • The topic ‘Default role assignment’ is closed to new replies.