Create TinyMCE buttons in WordPress

To create MCE buttons to your WordPress tiny editor, just follow below 2 steps. Step-1: Add following code to your function.php file. This file found at /wp-content/themes/YOUR_THEME/function.php. /* CREATE TINY EDITOR BUTTONS */ // Hooks your functions into the correct filters function my_add_mce_button() { // check user permissions if ( !current_user_can( ‘edit_posts’ ) && !current_user_can(