sequra_shop_status_completed
Hook Filter
Filter the WooCommerce status for completed.
Description
This filter allows modifying the WooCommerce statuses used to determine if an order is completed. Each status must have the wc- prefix.
| Parameter | Type | Description |
|---|---|---|
$statuses | array | Contains the prefixed WooCommerce statuses used to determine if an order is completed. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced |
Usage Example
add_filter('sequra_shop_status_completed', function($statuses){
return ['wc-completed'];
});Updated 6 months ago