WP_Meta_Query Generator May 30, 2022 Public daniel candal castro Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Menor que $meta_query = array( array( 'key' => 'fecha-fin', 'value' => 'today', 'compare' => '<', 'type' => 'DATETIME', ), );