WordPress.org

Ready to get started?Download WordPress

Forums

BU Section Editing
Can posts be added to sections programmatically? (2 posts)

  1. danervin
    Member
    Posted 3 months ago #

    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:
    1) determine which section(s) a user is a member of?
    2) determine which section(s) a post is in?
    3) add a post to a section group?

    https://wordpress.org/plugins/bu-section-editing/

  2. BU Web Team
    Member
    Plugin Author

    Posted 3 weeks ago #

    Thanks for your interest in the plugin!

    While there are certainly functions that do these things, they are internal to the plugin and would not be considered a public and officially supported API at this time.

    I've added this as an enhancement request to the Github repository: https://github.com/bu-ist/bu-section-editing/issues/8.

Reply

You must log in to post.

About this Plugin

About this Topic