When changing or adding an author, change it on other custom post type.
-
Hi !
First of all, thank you for you great plugin. I have a special need…
On my website, registered users can create a company (CPT “companies”). When they have created their company, users can create news/projects/events/jobs. When they post that kind of posts, the post is saved with a custom field that contains the id of the company created by this author.
For example, I create a company with ID=12. Then I create a project. When I publish this project, WP add a custom field to it : company_ID=12.
Everything goes well for this part.
Now, I’ve installed your plugin because more than one user can manage a company. This part goes well too. But…
When I add/change/remove a company’s author, I need the process to be repeated on each custom post type for which the custom field company_id is equal to the ID of the company.Do you understand ?
Thank you very much for your help !Cédric
- The topic ‘When changing or adding an author, change it on other custom post type.’ is closed to new replies.