関数
DeliveryForm::deliveryTime( string $value = '', string $out = '' )
配達時間の入力にVue.jsのバインディングを挿入する
パラメータ パラメータ
- $value
(文字列) (任意)
- $out
(文字列) (任意)
ファイル: src/Components/DeliveryForm/DeliveryForm.php
public function deliveryTime($value = '', $out = '') {
$html = "<div id='delivery_time_limit_message'></div>\n";
$html .= "<select
name='offer[delivery_time]'
id='delivery_time_select'
class='delivery_time'
>\n";
$html .= "</select>\n";
/**
* Filters the delivery form time select HTML shown on the Quickpay page
*
* @param string $html
*/
$html = apply_filters('wcexaap_checkout_review_filter_delivery_time', $html);
if ($out == 'return') {
return $html;
} else {
echo $html;
}
}