APP_Report_Factory::add_user_report( int $user_id, object $report, array $meta = array() )

Adds a new report to a user report collection


Package


    Description Description


    Parameters Parameters

    $user_id

    (int) (Required) The user ID to assign the new report

    $report

    (object) (Required) The report object being added to the collection

    $meta

    (array) (Optional) (optional) Additional post meta to store in the report collection meta

    Default value: array()


    Top ↑

    Return Return

    (object) The updated report collection


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.