ProTip: wp_query() defaults to post_status=‘publish’.
Unless called from Ajax. Then it adds ‘private’, ‘draft’, ‘future’, and ‘pending’.
— Dougal Campbell ? (@dougal) October 24, 2017
ProTip: wp_query() defaults to post_status=‘publish’.
Unless called from Ajax. Then it adds ‘private’, ‘draft’, ‘future’, and ‘pending’.
— Dougal Campbell ? (@dougal) October 24, 2017