wc_get_is_paid_statuses()
Get list of statuses which are consider 'paid'.
Хуки из функции
Возвращает
Массив.
Использование
wc_get_is_paid_statuses();
Список изменений
| С версии 3.0.0 | Введена. |
Код wc_get_is_paid_statuses() wc get is paid statuses WC 10.8.1
function wc_get_is_paid_statuses() {
/**
* Filter the list of statuses which are considered 'paid'.
*
* @since 3.0.0
*
* @param array $statuses List of statuses.
*/
return apply_filters( 'woocommerce_order_is_paid_statuses', array( OrderStatus::PROCESSING, OrderStatus::COMPLETED ) );
}