WP_Date_Query Generator May 22, 2023 Public Charley Lavin Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone before 2019 $date_query = array( array( 'before' => 'January 1, 2019', ), );