I am doing the following to get all the children associated with a post:
$args = array( 'order'=> 'ASC', 'post_parent' => get_the_ID(), 'post_status' => 'publish', 'post_type' => 'task' ); $tasks = get_children( $args );
Now the posts of type
task have postmeta associated with them. One particular meta_key is
task_progress. I would like to get all the children whose
task_progress meta_value is less than 100. What is the best way to filter the results?