WordPress at Your Fingertips
function is not described

WC_Customer::set_is_paying_customer() public WC 3.0.0

Set if the user a paying customer.

{} It's a method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_is_paying_customer( $is_paying_customer );
$is_paying_customer(true|false) (required)
If is a paying customer.

Changelog

Since 3.0.0 Introduced.

Code of WC_Customer::set_is_paying_customer() WC 6.1.0

public function set_is_paying_customer( $is_paying_customer ) {
	$this->set_prop( 'is_paying_customer', (bool) $is_paying_customer );
}