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

Deletes post stats for given post ID.


Package


Description Description


Parameters Parameters

$post_id

(int) (Required) Post ID.

$delete_metadata

(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.