WC_Payment_Gateway::get_pay_button_id()
Return the gateway's pay button ID.
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. |
WC_Payment_Gateway::get_pay_button_id() WC Payment Gateway::get pay button id code WC 9.3.1
public function get_pay_button_id() { return sanitize_html_class( $this->pay_button_id ); }