Description
Returns an array with the possible statuses a commission can have.
Return
(array) An associative array containing the slugs, as keys, and names, as values, of the statuses that a commission can have.
Example
$statuses = slicewp_get_commission_available_statuses();
// Returned value.
Array
(
[paid] => Paid
[unpaid] => Unpaid
[pending] => Pending
[rejected] => Rejected
)
The returned array can be filtered by applying a callback to the slicewp_commission_available_statuses filter.