WC_Customer::get_is_paying_customer
Is the user a paying customer?
Method of the class: WC_Customer{}
No Hooks.
Returns
true|false.
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->get_is_paying_customer( $context );
- $context(string)
- What the value is for. Valid values are
'view'and'edit'.
Default:'view'
Changelog
| Since 3.0.0 | Introduced. |
WC_Customer::get_is_paying_customer() WC Customer::get is paying customer code WC 10.5.0
public function get_is_paying_customer( $context = 'view' ) {
return $this->get_prop( 'is_paying_customer', $context );
}