WordPress.org

Ready to get started?Download WordPress

Forums

TinyMCE Templates
[resolved] how hide metabox (3 posts)

  1. infohowdy
    Member
    Posted 2 years ago #

    Hello, I just want hide the meta box translators.
    In my functions.php I use

    function remove_meta_boxes() {
    remove_meta_box('tinymcetemplates-translators', 'tinymcetemplates', 'side');
    }
    add_action( 'admin_menu', 'remove_meta_boxes');

    but this doesn't work.

    http://wordpress.org/extend/plugins/tinymce-templates/

  2. Takayuki Miyauchi
    Member
    Plugin Author

    Posted 2 years ago #

    Hello, infohowdy!

    Wow! I'm awfully sorry to hide this metabox. :)

    function remove_meta_boxes() {
        remove_meta_box('tinymce_templates-translators', 'tinymcetemplates', 'side');
        remove_meta_box('tinymce_templates-donate', 'tinymcetemplates', 'side');
     }
     add_action( 'admin_head', 'remove_meta_boxes');

    Thanks for using my plugin. :)

  3. infohowdy
    Member
    Posted 2 years ago #

    right admin_head, thankyou very much Takayuki.
    I'm sorry to hide the translators but I add some metabox 'how to...'

    Thankyou again !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic