[Plugin: Posts 2 Posts] Pass query parameters to get_related()
-
Hello all!
Is there a way to pass query parameters to
get_related()
?I tried
$respostas_relacionadas = p2p_type( 'resposta_to_desafio' )->get_related( get_queried_object(), array( 'nopaging' => true ) );
but does not working.Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Posts 2 Posts] Pass query parameters to get_related()’ is closed to new replies.