Beispiel #1
0
/**
 * Retrieves the reports collection for a specific post
 *
 * @param int $post_id The post ID to retrieve reports from
 * @param array	$args (optional) WP_Comment_Query args to be used to fetch the report collection
 *
 * @return object The post report collection
 */
function appthemes_get_post_reports($post_id, $args = array())
{
    return APP_Report_Factory::get_post_reports($post_id, $args);
}