APP_Report_Factory::get_post_reports( int $post_id, array $args = array() )
Retrieves the reports collection for a specific post
Package
Description Description
Parameters Parameters
- $post_id
(int) (Required) The post ID to retrieve reports from
- $args
(array) (Optional) (optional) WP_Comment_Query args to be used to fetch the report collection
Default value: array()
Return Return
(object) The post report collection