Add new method for each_related()
I love that we can alter the main query via each_connected, but it would be really efficient to add all adjacent items to the main query via a new method.
each_related() would do the same as each_connected(), but show adjacent instead of connected items.
Thoughts?
Seems like a reasonable idea.
If you end up writing a patch for it, please also try to add a unit test. On 29 Mar 2016 6:39 p.m., "Mike Hemberger" [email protected] wrote:
I love that we can alter the main query via each_connected, but it would be really efficient to add all adjacent items to the main query via a new method.
each_related() would do the same as each_connected(), but show adjacent instead of connected items.
Thoughts?
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/scribu/wp-posts-to-posts/issues/524