Home › Forums › Pro Support › Show posts in current category and specific tag › Reply To: Show posts in current category and specific tag
March 21, 2020 at 5:42 am
#14124
Participant
$scores = get_crp_posts_id();
$rel_posts = array_column( (array) $scores, 'ID' );
print_r( $rel_posts )
And
$rel_posts = array( 305512, 334934, 332645, 334067 );
print_r( $rel_posts )
Are both giving out the same:
Array ( [0] => 305512 [1] => 334934 [2] => 332645 [3] => 334067 )
Isn’t that the exact same format? What do I need to change?