fbpx

Description

[wcj_input_field] shortcode outputs functioning input field. Shortcode currently only works with Booster’s Custom Payment Gateways. User input is visible in the order edit page, in the “Booster: Custom Payment Fields” meta box.

Args

name
(required) Unique name.
Default: None
type
(optional) Input field type. Possible values:
  • text
  • number
  • password
  • date
  • month
  • week
  • time
  • datetime-local
  • email
  • color
  • range
  • tel
  • url
Default: `text`
label
(optional) Admin label.
Default: None

Example

[wcj_input_field name="custom_name_1" type="number"]
Accessible through:
  • [wcj_input_field]
Tested on WooCommerce 5.6.0 and WordPress 5.8.1