您好,有人知道如何在下面的数组中插入标签html标签?
<label><input type="checkbox" name="mc4wp-try-subscribe" value="1" checked/> newsletter </label>
// Our hooked in function - $fields is passed via the filter!
function custom_override_checkout_fields( $fields ) {
$fields['shipping']['shipping_phone'] = array(
'label' => __('Phone', 'woocommerce'),
'placeholder' => _x('Phone', 'placeholder', 'woocommerce'),
'required' => false,
'class' => array('form-row-wide'),
'clear' => true
);
return $fields;
}