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
- Multiple wp.editor in a custom widget using JQuery
- How to duplicate “Pages” section in the control panel?
- Setting Custom WordPress “Posts page” AS “Front page”
- featured images – custom links
- WordPress Customize panel – accessing the values
- Assign classes to Custom fields
- WP Customizer – what types of fields is it capable of supporting?
- Grouped custom taxonomy query
- Using Custom Fields in post, need to put into the_content
- Custom WordPress SQL Query 4 posts per custom taxonomy
- Get a different size of Image thumbnail while working with custom metabox
- Custom search by several options send on form not works
- Multiple Block Quotes without using HTML
- How to make my wordpress site responds for 2 domains
- Page template with custom html fields inside a content
- Upload files in wordpress
- Pagination is not working on custom query
- User registration add user ID?
- Can’t Auto-Update, but permissions are good?
- Custom Style per Post, How to Display Custom-Styled Single post on Homepage?
- Issue with WordPress native theme customizer function and jquery ui tabs
- Changes in comments.php in the child theme does not show up on the site
- Twenty Eleven theme, how to change style to a specific “format”
- Custom image sizes ignored in WP 3.5
- Search results load individual post in slide out div
- Share user access between two wordpress sites
- Accessing + retrieving custom database in WordPress
- What capability is required to view posts, scheduled in the future, by someone else?
- Looking for a way to take readers to random post when clicking a link
- Problem Locating and Changing Alt Attribute Of Link
- Custom MySQL query to list post
- Need Advice to Working with Custom Post Meta
- Custom Query Arguments
- How to create functions that affect only a specific user
- If I want social media icons that link to my site’s corresponding accounts, is that better to do with a plugin, or manually?
- Pull certain WordPress posts on custom CMS instead and 301 wordpress to it?
- pull custom fields values from wp-database in a nested foreach loop
- Create advanced portal website with sections – taxonomy usage?
- Create dashboard setting which lets me set ID of category which is inserted into template
- wp_rewrite not working on third level url
- Custom Query for Taxonomy
- What is Global WordPress Objects?
- How to remove the tagline from the HTML ?
- Custom table or form
- Using str_replace on wp-admin
- Setting variables as custom field values
- Single page template
- how to modify request to get_template_part()?
- WordPress uploads directory. Featured Images storage
- Cannot upload to S3 using CDN Sync Tool
- Document.body.scrollTop in WordPress
- Post thats in Two Categories, only want to display name for one
- Adding page Title in a custom coded page
- Reached end of document without finding – using mod_pagespeed
- Custom Slider Per Page created
- Custom Import with taxonomies
- updated permalink structure on localhost does not work
- Show Site Name on WP login screen
- Adding css and js to a blank page created with custom template
- why jquery is not loading in wordpress page?
- Word Press Theme Customiser and Child theme Function.php
- Security Issues with custom user role or changing core role capabilities?
- Customise default site setup
- menu customization
- Adding a third custom taxonomies
- customize page is blank after installing wordpress 4.7.2
- Modifying a local template
- Create users via PHP
- Will too many overridden css rules lead to performance issues
- Different post into a single page
- Show post content in two different places without redirect
- wp_editor() in content that was loaded with ajax [duplicate]
- Pass query param to custom page
- Multiple Customizers
- Why should I keep my personal WordPress separate from my “professional” one? [closed]
- How to answer, and we aren’t using WordPress to manage your site? [closed]
- How I can add blog in my magento site?
- How to move menu next to left of the search box?
- How do I include the sidebar (with Widgets) in a custom theme?
- Complete Custom Style Part of Site