set multiple values for a single parameter in get_posts
-
Hi,
I donot know where this question belongs so kindly excuse me if it’s in the wrong forum!
My problem:
I am retrieving posts through the get_posts function as:<?php global $post; $args = array( 'numberposts' => 2, 'offset'=> 0, 'post_type' => 'webcast'); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); $p_ID = get_the_ID(); ?>
I want to say now that the meta_value parameter should be equal to either XYZ or ABC
How do I do that?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘set multiple values for a single parameter in get_posts’ is closed to new replies.