Hot answers tagged

1

You can do it easily with WP_Query: $args = array( 'date_query' => array( 'relation' => 'OR', array( 'column' => 'post_date', 'after' => '-2 days' ), array( 'column' => 'post_modified', 'after' => '-2 days' ) ) ); $query = new WP_Query( ...



Only top voted, non community-wiki answers of a minimum length are eligible