WP_Date_Query Generator October 21, 2018 Public Nam DK Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone date filter year,month $date_query = array( array( 'year' => 2018, 'month' => 10, ), );