WC_Customer::get_is_paying_customer
Is the user a paying customer?
Метод класса: WC_Customer{}
Хуков нет.
Возвращает
true|false.
Использование
$WC_Customer = new WC_Customer(); $WC_Customer->get_is_paying_customer( $context );
- $context(строка)
- What the value is for. Valid values are
'view'and'edit'.
По умолчанию:'view'
Список изменений
| С версии 3.0.0 | Введена. |
Код WC_Customer::get_is_paying_customer() WC Customer::get is paying customer WC 11.0.1
public function get_is_paying_customer( $context = 'view' ) {
return $this->get_prop( 'is_paying_customer', $context );
}