Nov 9, 2010 Comments Off
Add rich text editor to wordpress plugin
Loading Editor To load TinyMCE you need to use the following code. First two lines attach hooks to init and head actions. Two functions hooked follow after. One loads JavaScript needed, and second actually loads the editor. Line that enqueues the media upload element is needed only if you use media buttons. <?php add_action(‘admin_init’, ‘editor_admin_init’); [...]





Recent Comments