WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
Detect if a post has connection to any of other post. (2 posts)

  1. danielffr
    Member
    Posted 6 months ago #

    Hi,
    Is there a way to detect if a post has connection to any of other posts?

    I saw this answer:
    http://wordpress.org/support/topic/plugin-posts-2-posts-function-to-check-if-connection-exists

    But this is only is only to check if a post is connected to other specific post. What I need to check is if certain post has connection has connection to other post, no matter what post.

    is it possible ? Thanks in advance!
    Cheers

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

  2. tedinoz
    Member
    Posted 5 months ago #

    1 - How many connection types do you have?

    2 - If you need to do this programatically, then could you not just loop through the 'p2p_connection_exists' function for each connection type.

    Ted

Reply

You must log in to post.

About this Plugin

About this Topic