Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

where clause in fetch params

$
0
0

Replies: 0

Hi,

I have a custom field (committee_program) in a pod group (committee).

committee_program is a simple custom defined relationship field with 2 values (1 being what you see in the where clause).

My params were working until I added my where clause>

$params = array(
				'limit' => -1,
				'orderby' => 'post_title ASC',
				'where' => "committee_program = 'COPPUL Digital Stewardship Network'"
			);

Thanks for your help in advance!


Viewing all articles
Browse latest Browse all 59525

Trending Articles