WC_Product_External::get_button_text()
Get button text.
Method of the class: WC_Product_External{}
No Hooks.
Return
String
.
Usage
$WC_Product_External = new WC_Product_External(); $WC_Product_External->get_button_text( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
WC_Product_External::get_button_text() WC Product External::get button text code WC 9.4.2
public function get_button_text( $context = 'view' ) { return $this->get_prop( 'button_text', $context ); }