Creates a custom capability token for third-party plugins.
Tokens must be lowercase kebab-case (my-capability). Namespacing by
vendor is recommended for community plugins to avoid collisions with
standard tokens (acme.payment-gateway).
Parameters
name: string
The token name; lowercase kebab-case segments, optionally
separated by dots for namespacing
Creates a custom capability token for third-party plugins.
Tokens must be lowercase kebab-case (
my-capability). Namespacing by vendor is recommended for community plugins to avoid collisions with standard tokens (acme.payment-gateway).