Home / Code Snippets / Conditionally Add Argument to QueryConditionally Add Argument to Query <?php if( enter-if-statement-here ) { $args['property'] = 'value'; }