WC_Order::get_billing_first_name()publicWC 1.0

Get billing first name.

Method of the class: WC_Order{}

No Hooks.

Return

String.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_billing_first_name( $context );
$context(string)
What the value is for. Valid values are view and edit.
Default: 'view'

WC_Order::get_billing_first_name() code WC 8.7.0

public function get_billing_first_name( $context = 'view' ) {
	return $this->get_address_prop( 'first_name', 'billing', $context );
}