Add Abilities API wrappers for Parse.ly analytics
Adds Abilities API registrations for Parse.ly analytics.
Changes:
- Added: src/Abilities/register-abilities.php
- Updated: wp-parsely.php (loads registrations)
Abilities:
- wp-parsely/get-post-analytics
- wp-parsely/get-post-referrers
- wp-parsely/get-related
- wp-parsely/get-analytics-posts
- wp-parsely/validate-credentials
- wp-parsely/get-dash-url
Permissions:
- Analytics abilities require Site ID set and publish_posts.
- Validate credentials requires manage_options.
Impact:
- No behavior change unless Abilities API is present.
This is to make Parse.ly functionality available in WordPress Agents, though Abilities API.
[!IMPORTANT]
Review skipped
Draft detected.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
✨ Finishing touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
- [ ] Commit unit tests in branch
add/abilities-api-analytics
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
Thanks for starting the work on this. Let me know how/when I can be of help.