Use Case
User says "show comment stats" or "how many comments do I have". AI returns comment counts by status (approved, pending, spam, trash) and recent comment activity.
Checklist
References
Notes
Use wp_count_comments(). Readonly. Simple implementation — good first issue.
Use Case
User says "show comment stats" or "how many comments do I have". AI returns comment counts by status (approved, pending, spam, trash) and recent comment activity.
Checklist
includes/abilities/comment-stats.phpwithregister_agentic_ability()src/extensions/abilities/comment-stats.jswithregisterAbility()src/extensions/abilities/index.jstests/abilities/core-abilities.test.jsnpm run buildandnpm run test:abilitiesReferences
includes/abilities/comment-stats.php+src/extensions/abilities/comment-stats.jsNotes
Use
wp_count_comments(). Readonly. Simple implementation — good first issue.