• Hi,
    this is my connection

    p2p_register_connection_type( array(
    ‘name’ => ‘event_to_post’,
    ‘from’ => ‘event’,
    ‘to’ => ‘post’,
    ‘reciprocal’ => true,
    ) );

    but in admin, when i try to connect an event to a post, the p2p admin box shows me all the post_type i have (not just ‘post’). So It shows me many result (all the posts of all post type i have in wordpress), also image are display and I can’t find easly the post I want to connectd.

    How can I filter the admin p2p search to show me only the post type of the specific connection (in the example above I would find yust post o event).
    Thank you so much

    https://wordpress.org/plugins/posts-to-posts/

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Admin connection search box’ is closed to new replies.