wp-parsely icon indicating copy to clipboard operation
wp-parsely copied to clipboard

Add Abilities API wrappers for Parse.ly analytics

Open Jameswlepage opened this issue 2 months ago • 2 comments

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.

Jameswlepage avatar Oct 08 '25 20:10 Jameswlepage

[!IMPORTANT]

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Oct 08 '25 20:10 coderabbitai[bot]

Thanks for starting the work on this. Let me know how/when I can be of help.

acicovic avatar Oct 09 '25 07:10 acicovic