statify
statify copied to clipboard
Add post views column to admin post table
Hi there!
This PR introduces a new Views column in the post and page tables of the WordPress admin, allowing users to see how many times each post or page has been viewed, based on tracking data.
Additionally, I decided to add statify_counter_post_types filter to allow extending the post types that display the views column.
How to Test:
- Go to the
PostsorPagessection in the WordPress admin area. - Make sure that checkbox
Viewsis activated in theScreen Options. - Check for the new
Viewscolumn in the post table.
Closes #283.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
That looks really good! It also follows out coding styles perfectly. In a local test, it also looks good!