WordPress at Your Fingertips
function is not described

WC_Payment_Gateway::get_pay_button_id() public WC 3.9.0

Return the gateway's pay button ID.

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

No Hooks.

Return

String.

Usage

$WC_Payment_Gateway = new WC_Payment_Gateway();
$WC_Payment_Gateway->get_pay_button_id();

Changelog

Since 3.9.0 Introduced.

Code of WC_Payment_Gateway::get_pay_button_id() WC 5.5.2

<?php
public function get_pay_button_id() {
	return sanitize_html_class( $this->pay_button_id );
}