Function Reference: gdlist_get_all_reviewed_posts
Summary
This function has not been documented yet.
Source File
gdlist_get_all_reviewed_posts() is located in geodir_list_manager/geodir_list_manager.php [Line: 561]
Source Code
function gdlist_get_all_reviewed_posts() { $p_ids = gdlist_get_user_reviewed_posts(); $post_types = geodir_get_posttypes(); $all_posts = array(); if ($p_ids) { $query_args = array( 'post_type' => $post_types, 'posts_per_page' => 100 ); $query_args['post__in'] = $p_ids; $listings = new WP_Query($query_args); if ($listings) { while ( $listings->have_posts() ) : $listings->the_post(); $all_posts[get_the_ID()] = get_the_title(); endwhile; } wp_reset_postdata(); } return $all_posts; }