APP_Post_Statistics::delete_post_stats( int $post_id, bool $delete_metadata = false )

Deletes post stats for given post ID.


Description Description

Parameters Parameters


(int) (Required) Post ID.


(bool) (Optional) (optional) Should the post metadata mirrors be deleted.

Default value: false

Top ↑

Return Return

(bool) Whether the stats get deleted.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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