Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Register ability category: {{LABEL}}
|
||||
*
|
||||
* {{DESCRIPTION}}
|
||||
*
|
||||
* Note: This must be called BEFORE registering abilities that use this category.
|
||||
* Typically placed at the top of your abilities registration file.
|
||||
*/
|
||||
|
||||
import { registerAbilityCategory } from '@wordpress/abilities';
|
||||
|
||||
await registerAbilityCategory('{{CATEGORY_NAME}}', {
|
||||
label: '{{LABEL}}',
|
||||
description: '{{DESCRIPTION}}',
|
||||
});
|
||||
Reference in New Issue
Block a user