0
    $args = array(
        'post_status' => 'publish',
        'post_type' => 'therapist',
        'post_parent' => 0,
        array(
            'meta_key'      => 'post_modified',
            'meta_value'    => '2020-04-11',
            'compare'       => 'LIKE'
        ),
        'date_query' => array(
             array(
                 'after'     => '20 days ago',
                 'inclusive' => true,
             ),
         ),
    );
    $posts = get_posts($args);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.