WordPress at a glance
function is not described

WC_Order::set_payment_method_title() public WC 1.0

Set payment method title.

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

No Hooks.

Return

Null. Nothing.

Usage

$WC_Order = new WC_Order();
$WC_Order->set_payment_method_title( $value );
$value(string) (required)
Payment method title.

Code of WC_Order::set_payment_method_title() WC 5.0.0

<?php
public function set_payment_method_title( $value ) {
	$this->set_prop( 'payment_method_title', $value );
}