-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an API for section groups #8
Comments
I just found this, incase anyone is looking the posts have a post meta named _bu_section_group in the db. I am still looking for the user's section group |
also under post meta in the db is an entry for each group _bu_section_group_users with a list of all the user's ids in that group |
More information... There are currently no explicit/public functions to do each of the tasks requested. The process could be made easier by having officially supported functions, but there are already ways to get at this information. The following should answer questions 1 and 2. Each item in
For question 3, one can update one the groups above:
|
From WP.org (http://wordpress.org/support/topic/can-posts-be-added-to-sections-programmatically?replies=1):
We have a large site with multiple Custom Post Types. Since child pages are frequently different types, and can appear in multiple locations, we are using the Posts 2 Posts plugin, rather than parent-child hierarchy, to link posts.
I am trying to do things programmatically, so that section editors will be able to create their own pages without admins having to add every post to section groups.
Are there a functions to:
The text was updated successfully, but these errors were encountered: