So after researching some wordpress filters i found the teeny_mce_buttons and removed the distraction free button with this function.
function remove_teeny_mce_btns($buttons) {
unset($buttons[13]);
return $buttons;
}
add_filter('teeny_mce_buttons', 'remove_teeny_mce_btns');
Here is the link with the solution:
https://www.gavick.com/blog/wordpress-tinymce-custom-buttons
Related Posts:
- TinyMCE style_select – Append Classes
- How to remove buttons from the WP Editor on the edit post page in the admin area
- Still desperate about multiple TinyMCEs in widgets – is there any good solution to this yet?
- Add button to TinyMCE bar without creating a plugin
- How to include own css on wordpress tinymce editor?
- How to edit the actual paragraph dropdown in TinyMCE with custom text styles
- Custom editor field displaying HTML in Visual editor
- TinyMCE default link target to “_blank”
- How To Add buttons to the toolbar which appears in TinyMce when you click over images
- Limiting allowed html elements/strip harmful scripts from editor
- Multiple Tinymce/wp_editor in WordPress >4.8
- TinyMCE custom dialog with selectbox not working
- I’m using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box
- wp_editor not modify html tags of initial content
- Qtranslate + Woocommerce (multiple tinymce) [closed]
- How to add custom ‘layout’ buttons to wordpress editor?
- How to create 2 preview button in a post?
- DOM reference to TinyMCE editor element (button)
- Customize TinyMCE Buttons
- How to apply filters if editing specific template
- How do register_sidebar() and get_sidebar() work together?
- Multiple WordPress sites with docker
- .maintenance and maintenance.php also in multisite install?
- how to redirect to a custom password retrieval page
- Is there a plugin to make attaching images easier?
- Custom category order with get_categories
- Tiny MCE not adding p tag when saving theme option
- Pagination Help on Crazy Custom Authors Page
- Getting rid of the #038; when string replacing content
- Querying multiple WordPress custom fields with AND qualifier
- WordPress custom post types breaks permalink on theme reinstall
- Show attribute description when filtering by that attribute
- Create a Custom menu item fetched by Product Categories and Sub Categories
- Multi-Site Plugin Activated (Not Network-Activated), What Happens?
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Insert wp_editor on front-end with AJAX?
- Adding action to save_post, post needs to be saved twice for function to work
- 1 bit audio player
- Outputting posts from post id´s in variable
- The Best Way to always load the newest version of 3rd party code
- Theme licensing and permission on changing content [closed]
- Add ‘Creator’ User Meta when adding user
- Auto login after wordpress installation
- Using Fullscreenr with a wordpress blog – weird bug
- Determining What Content Gets Displayed
- Truncating varying lengths of information
- How to get pages id in array in get_pages?
- Access post meta in future_to_publish function
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- How to create a completely private wordpress with multiple membership levels
- woocommerce_checkout_fields modifying existing billing_phone label created new field
- Edit sticky header html – How to locate corresponding php file
- custom meta box for page default template
- How to host 2 subdomains as lookalike destinations under one master domain?
- WordPress Custom File Permalink
- WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues
- how to display a specific wordpress menu?
- Change Notice of Password change email subject?
- Deleting my old WordPress site. – issues
- Woocommerce custom checkout form
- Remove year from title
- Custom Tags Archive – permalinks not working
- How to append custom text to the output of ‘categories widget’?
- How to assign a custom post title to be the post ID?
- Creating custom page template
- Which delete query is better with prepare or delete
- Change Site Logo or Menu Logo Per Page
- How to add page content into another page
- Remove Sidebars from page
- WP Search Form Query: Add Author’s posts into search query
- Creating a “Delete”-Button for Metadata userspecific
- Change default Video Player without Plugin
- Changing update message from Newspaper child theme
- export and import wordpress customization
- where is admin footer?
- How can i add customisation of text to my theme?
- Can I overwrite custom taxonomy FROM “public” TO “false”
- Trying to customise 2011 Child Theme Background Colour
- New Page/Post Screen Opens an Existing Post
- Custom product status get filtered on all product list views
- the temporary save folder is wrong
- URL issue after setting up Custom Structure in Settings >> Permalinks
- Can I upload my self hosted WordPress website on GitHub as a project? [closed]
- Need to replace some text string on a title
- Custom roles and capabilities media not work right
- How to use a custom playlist template:
- Run a welcome tour after multisite creation?
- Multisite – Getting Meta query to select from wp_2 tables
- How to compare number with id of post in certain category
- WordPress Inline Style missing
- Need to over ride a !important from the index file
- Make User Role a Filter
- Save values from foreach loop in wp_editor
- Creating a search with tag variable also added for more detailed results
- Is there os native application for wordpress?
- Template setting is not saving in wordpress
- Create a custom search for Estate Agency WordPress site
- WP is easy, The client has to learn it, So what do i offer? [closed]
- How do I add custom CSS animations for specific Gutenberg blocks?
- How to use standalone Gutenberg (block editor) instance on any my own admin page in WordPress