Name
WOOSL/API/product_validation/granted_statuses
Type
Filter
Arguments
$granted_statuses
Description
Add custom statuses for granted product statuses
Example of usage
add_filter('WOOSL/API/product_validation/granted_statuses', 'WOOSL_API_product_validation_granted_statuses'); function WOOSL_API_product_validation_granted_statuses( $granted_statuses ) { $granted_statuses[] = 'promotion'; return $granted_statuses; }