Skip to content

Document category field for browser extension actions#664

Merged
akirk merged 2 commits into
mainfrom
browser-extension-action-category
May 2, 2026
Merged

Document category field for browser extension actions#664
akirk merged 2 commits into
mainfrom
browser-extension-action-category

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented May 1, 2026

Summary

  • Adds category to the friends_browser_extension_actions filter docblock as an optional field
  • Actions without a category appear under the default "Actions" header in the extension popup

Test plan

  • Verify that a plugin providing an action with a category field has it grouped under that header in the extension popup
  • Verify that actions without category still appear under the default "Actions" header
  • [ ]

Changelog entry

  • Automatically create a changelog entry from the details below.
Add category support for browser extension

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Fixed - for any bug fixes
  • Removed - for now removed features

Message

Document that a category can be specified.

Actions without a category appear under the default "Actions" header.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk merged commit bde3789 into main May 2, 2026
@akirk akirk deleted the browser-extension-action-category branch May 2, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant