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. <a href=https://wordpress.org/plugins/buddyforms/" target="_blank">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 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: 3.9 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 20+
Got something to say? Need help?