WC_Product_External::get_button_text()
Get button text.
Метод класса: WC_Product_External{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Product_External = new WC_Product_External(); $WC_Product_External->get_button_text( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код WC_Product_External::get_button_text() WC Product External::get button text WC 9.8.1
public function get_button_text( $context = 'view' ) { return $this->get_prop( 'button_text', $context ); }