You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: