__( 'WooCommerce', 'woocommerce' ), 'description' => __( 'Abilities for WooCommerce store operations, including core commerce features and extension-provided capabilities.', 'woocommerce' ), ) ); } if ( ! function_exists( 'wp_has_ability_category' ) || ! wp_has_ability_category( 'woocommerce-rest' ) ) { wp_register_ability_category( 'woocommerce-rest', array( 'label' => __( 'WooCommerce REST API', 'woocommerce' ), 'description' => __( 'REST API operations for store resources including products, orders, and other store data.', 'woocommerce' ), ) ); } } }