Created
July 9, 2014 20:41
-
-
Save matgargano/1bb6c9efa1a5e27e3bec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'add_meta_boxes', function() { | |
add_meta_box( 'asdf123_editors', 'Editors', function() { | |
wp_editor( 'Drag/Drop => True', 'asdf123_editor_1', array( | |
'drag_drop_upload' => true, | |
) ); | |
wp_editor( 'Drag/Drop => False', 'asdf123_editor_2', array( | |
'drag_drop_upload' => false, | |
) ); | |
}, 'post' ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment