WC_Product_External::set_button_text
Set button text.
Method of the class: WC_Product_External{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Product_External = new WC_Product_External(); $WC_Product_External->set_button_text( $button_text );
- $button_text(string) (required)
- Button text.
Changelog
| Since 3.0.0 | Introduced. |
WC_Product_External::set_button_text() WC Product External::set button text code WC 10.4.3
public function set_button_text( $button_text ) {
$this->set_prop( 'button_text', $button_text );
}