lose_date
date-lose query
// WP_Query arguments
$args = array(
'post_type' => array( 'mosabeghe' ),
'post_status' => array( 'publish' ),
);
// The Query
$lose-date = new WP_Query( $args );
// The Loop
if ( $lose-date->have_posts() ) {
while ( $lose-date->have_posts() ) {
$lose-date->the_post();
// do something
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();