Shortcake UI
-
Please consider supporting Shortcake
https://github.com/wp-shortcake/shortcake/blob/master/README.md#screenshotsadd_action( 'register_shortcode_ui', 'ccs_ui_today' ); function ccs_ui_today() { $shortcode_ui_args = array( 'label' => esc_html__( 'Today', 'shortcode-ui-example' ), 'listItemImage' => 'dashicons-calendar-alt', 'attrs' => array( 'label' => esc_html__( 'Date format', 'shortcode-ui-example' ), 'description' => esc_html__( 'For details, see the Codex: Formatting Date and Time.', 'shortcode-ui-example' ), 'attr' => 'format', 'type' => 'text', 'meta' => array( 'placeholder' => get_option( 'date_format' ), ), ), ); shortcode_ui_register_for_shortcode( 'today', $shortcode_ui_args ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Shortcake UI’ is closed to new replies.