WC_Customer::get_is_paying_customer()publicWC 3.0.0

Is the user a paying customer?

Method of the class: WC_Customer{}

No Hooks.

Return

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() code WC 9.4.2

public function get_is_paying_customer( $context = 'view' ) {
	return $this->get_prop( 'is_paying_customer', $context );
}