WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
Validating mandatory relationship (1 post)

  1. aaron@rossano.com.au
    Member
    Posted 1 year ago #

    Hi,
    Is there a way to setup a relationship as mandatory.

    This is my guess:
    I could probably create a function condition that will be similar to this:
    http://wordpress.org/support/topic/plugin-posts-2-posts-filtering-connections-by-author?replies=15
    where the it'll use the 'p2p_new_post_args'. but that's just for new posts.
    how would I do it for updating posts to make sure the relationship wasn't removed after the post was created?

    http://wordpress.org/extend/plugins/posts-to-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by aaron@rossano.com.au
  • This topic is not resolved
  • WordPress version: 3.4.2