Home

Awesome

cmb2-markdown

Adds a markdown field to the CMB2 framework

Example Usage

$cmb->add_field( array( 'name' => 'Markdown Enabled Field', 'type' => 'text_markdown', 'id' => 'test_markdown', 'sanitization_cb' => 'markdown_sanitize' ) );