Automattic\WooCommerce\Internal\Admin\Settings
Payments::update_payment_providers_order_map
Update the payment providers order map.
Method of the class: Payments{}
No Hooks.
Returns
true|false
. True if the payment providers ordering was successfully updated, false otherwise.
Usage
$Payments = new Payments(); $Payments->update_payment_providers_order_map( $order_map ): bool;
- $order_map(array) (required)
- The new order for payment providers.
Payments::update_payment_providers_order_map() Payments::update payment providers order map code WC 9.8.5
public function update_payment_providers_order_map( array $order_map ): bool { return $this->providers->update_payment_providers_order_map( $order_map ); }