s2member Add Custom Post with CCAPS equal to author's CCAPS
-
I’ve got a custom post type that carries a numerical CCAPs value that identifies a client’s company. Many users from same company have their own user account, each with a common CCAPs value. Other companies’ users have another user CCAPs value. Users only see their own content due to the CCAPS limitations and filtering.
There is a second custom post type that the client user is allowed to generate. This is also filtered by CCAPs. I need for the user’s CCAPs to be copied from the user’s account into the new post that they created so that it is tied to them by author, and their company by CCAPs.
I’m thinking some sort of hook that fires after the post is inserted, but I don’t know how to make that happen.
Thanks for any help.
- The topic ‘s2member Add Custom Post with CCAPS equal to author's CCAPS’ is closed to new replies.