nsrosenqvist / cmb2-number
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.0.0
- cmb2/cmb2: ^2.3.0
This package is auto-updated.
Last update: 2020-06-09 20:10:00 UTC
README
Adds a number field to CMB2.
$countdown = new_cmb2_box( array( 'id' => 'countdown', 'title' => __('Countdown', 'theme'), )); $countdown_seconds = $countdown->add_field(array( 'name' => __( 'Seconds Left', 'theme'), 'id' => 'countdown_seconds', 'type' => 'text_number', ));