Adds WP Posts 2 Posts Plugin Integration to BuddyForms
This is the BuddyForms Posts 2 Posts Integration Extension. You need the BuddyForms plugin installed for the plugin to work. Get BuddyForms now!
You need the Posts 2 Posts plugin installed for the plugin to work. For more information on Posts 2 Posts see here: https://wordpress.org/plugins/posts-to-posts/
With BuddyForms Posts 2 Posts Integration you can create complex connections and post relationships across your site. From posts to pages or to users all the Posts 2 Posts Plugin functionality is in your BuddyForms Form Builder available.
With the 'BuddyForms Attach Posts to Groups Extension‘ and the 'Posts 2 Posts Plugin' you can create groups to posts or even groups to groups relationships based on the Groups Attached Posts.
Find out more about 'BuddyForms Attach Posts to Groups Extension' here: http://wordpress.org/plugins/buddyforms-attach-posts-to-groups-extension/
The Plugin creates a new form element "posts-to-posts" with 2 options for your BuddyForms FormBuilder.
from: post, page or any post type
to: post, page, user, any post type
Before the connection gets registered with p2p_register_connection_type($args) you can manipulate the $args with a filter.
$args = array(
'name' => $field['slug'],
'from' => $field['posts_to_posts_from'],
'to' => $field['posts_to_posts_to']
$args = apply_filters('connection_types_args', $args, $buddyform['slug']);
There is documentation available for the Posts 2 Posts Plugin and all the available parameter.
Requires: WordPress 3.9 or higher
Compatible up to: WordPress 4.3
Last Updated: 6 months ago
Active Installs: 20+
Got something to say? Need help?