# Remove KLEO from Wordpress TinyMCE

Source: https://seventhqueen.com/docs/kleo/remove-kleo-from-wordpress-tinymce/

If you need to remove the KLEO button from WordPress TinyMCE you will have to add this function

![](https://cdn.seventhqueen.com/docs/media/other/seventhqueen/Add_New_Page__Kleo_Development__WordPress__2017-02-22_16-23-03.png_1308993_2017-02-22_16-43-05.png)

```
add_action( 'admin_init', 'sq_remove_admin_shortcodes_btn', 12 );
function sq_remove_admin_shortcodes_btn() {
    global $k_elements_tiny;
    remove_filter( 'mce_external_plugins', array( $k_elements_tiny, 'add_rich_plugins' ) );
    remove_filter( 'mce_buttons', array( $k_elements_tiny, 'register_rich_buttons' ) );
}
```

The above code function needs to be pasted in wp-content/themes/kleo-child/functions.php

If you have a k-elements lower than 4.1.9 you will have to replace this file content : /wp-content/plugins/k-elements/admin/tiny_mce.php with the next
