Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wpalchemy metaboxes VS. wordpress wp_editor()
<?php $mb->the_field('citation');
//array of settings for wp_editor()
$settings = array(
'wpautop' => true,
'textarea_rows' => '15',
'media_buttons' => 'false',
'tinymce' => true,
'quicktags' => true
$val = $mb->get_the_value();
$id = $mb->get_the_name();
wp_editor($val, $id , $settings );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.