Posts 2 Posts
[resolved] Custom meta box: WP_Query call vs get_connected()? (2 posts)

  1. Manny Fleurmond
    Posted 3 years ago #

    Working on a custom meta box using the P2P core. I noticed something while experimenting: I tried using the WP_Query example and got 0 results, but when I used the get_connected function, I got the results I was looking for. Is there a reason why that is?


  2. Manny Fleurmond
    Posted 3 years ago #

    And I found a solution: connected_direction needed to be set to 'any' to make it work

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts 2 Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic