WordPress at Your Fingertips
function is not described

WC_Product_External::get_button_text() public WC 1.0

Get button text.

{} It's a 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'

Code of WC_Product_External::get_button_text() WC 5.6.0

public function get_button_text( $context = 'view' ) {
	return $this->get_prop( 'button_text', $context );
}