I’ve found that you can manual set availability button by this attribute theme_advanced_buttons1
(for button in row 1)
Example :
function disable_mce_buttons( $opt ) {
//set button that will be show in row 1
$opt['theme_advanced_buttons1'] = 'bold,italic,strikethrough,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,|,link,unlink,wp_more,|,spellchecker,wp_fullscreen,wp_adv,separator';
return $opt;
}
add_filter('tiny_mce_before_init', 'disable_mce_buttons');
Related Posts:
- How to add a shortcode button to the TinyMCE editor?
- How to load wp_editor via AJAX
- How to Add WYSIWYG Editor (tinyMCE) to plugin options page compatible with WordPress 3.0 and up?
- TinyMCE Advanced newline problem
- Disable text tab on WordPress text-editor
- Issues creating a tinyMCE plugin that creates a custom link
- Adding rich text editor to my plugin
- How to Add TinyMCE’s plugin in wordpress?
- White text on white background in TinyMCE when wp_editor is called in WP 3.9
- How can I get the post content displayed in a text field that allows to edit posts?
- How to add custom JS to tinymce in wordpress
- how to load tinymce external plugin
- Set WordPress TinyMCE Editor To Readonly
- Getting selected (highlighted) html from the Visual Editor on Edit Post page?
- How to edit content before post update
- How to replace wordpress default text editor (TinyMCE) with a custom one.
- accessing wp.media api from a tinymce plugin
- How to load wp_editor via AJAX
- jquery tinymce and bundled wp plugins
- Trouble adding tiny mce to textarea in custom plugin
- Using TinyMCE in plugin?
- TinyMCE Styles Dropdown not adding html tags other than span
- Hook into existing tinyMCE button
- How to add table class for tables of TinyMCE advanced wordpress plugin? [closed]
- Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?
- Generate Own Custom CSS Button with icon
- How do I add multiple buttons to Tiny MCE in a single plugin?
- “switchEditors is not defined” with wp_editor() in jQuery UI tabs
- Example for use tinymce in wordpress 3.5.1?
- Custom characters of tinymce editor are saved as question mark
- “After file loaded” action
- How to apply to hide TinyMCE (wp_editor) on button click
- How to hide the cell properties and row properties in TinyMCE WordPress?
- How to use wp_editor and save its data in wp_posts table
- How to disable/enable PHP plugin functionality based on a TinyMCE toggle-button
- Sanitize AROUND shortcode
- TinyMCE how to add css when inputing a text
- can’t use span or icon tags on when editing visual composer element
- Extending the “Add Media”-Dialog … how do I finally insert something to the Post?
- how to enable tinymce custom buttons in meta box?
- Better code/text editing for posts and pages?
- Filter html of WordPress editor in visual mode only
- Using Iris Colorpicker on TinyMCE shortcodes page [duplicate]
- How can I replace the built in WordPress editor?
- is_plugin_active function doesn’t exist
- How to call a plugin function from index.php
- Woocommerce checkout page custom checkbox ticked
- How to pass multiple values in shortcode?
- How do you auto-activate plugins from child themes
- How can I add a custom meta value on file upload?
- Check if the front end user is log in or not
- Show only preview of posts on the homepage?
- Set the active Navigation Menu from a plugin
- What is the best way to mimic a search query within a plugin
- Programatically download a plugin
- Disable plugin per user role
- WordPress Registration Email by Role
- Creating plugin using simple_html_dom parser?
- wp.media javascript issue with on select
- Finding the URL to be used to check if plugin is installed with a theme
- Creating shortcodes in plugin
- Using arbitrary paths in page urls
- Using wpdb without loading all plug-ins via wp-load.php
- Are plugins instantiated on every request to WordPress?
- Why shortcode always displayed after footer not in body
- how to activate a plugin inside a theme
- Add some fileds to the wp_posts table
- Get orders of a specific customer woocommerce
- What am is missing? (API CORS)
- How to find out which plugin create captcha after login?
- How to fix broken media library?
- Deactivated Visual Composer plugin, site crashed, what to do? [closed]
- JQuery needs to be defined in , but Gravity Forms is defining it in the
- Plugin hook not working on specific WordPress installation – how to troubleshoot?
- Add Stack Exchange Recent Questions to a wordpress sidebar?
- Displaying number of drafts in Posts section of admin sidebar [closed]
- admin bar disappears completely in 2010 theme
- custom wordpress theme and yoast seo injecting text in body
- Show views count for pop up post
- How to check if short code is present in template?
- One WooCommerce Store to multi distributor sites
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- How to change the width of certain paragraph or header blocks?
- Settings Fields not showing up in Submenu Page
- Multiple CF7 Forms causing multiple recaptcha requests
- Product slider not showing when clicking on tabs
- Custom plugin issue – Notice: Trying to get property of non-object in
- Permission Issues regarding Plugin updates & FTP transfers
- How to write wordpress plugins faster to load?
- plugin not working for adding post to page
- Plugin menu replaced by another plugin?
- WordPress plugins not showing after switching servers
- How to manually remove preload fonts settings in WordPress?
- woocommerce add variable after price
- How to skip woocommerce PayPal redirection?
- Auto Stock Update after Order cancel from Admin of Woocommerce?
- Set the Social Icon Size in footer
- Use custom Javascript for a custom Elementor Widget [closed]
- How can I wordpress cache a database request with no existing plugin?
- Save Confirmation Page Title to WPForms Entry