Home › Forums › Backend Issues (wp-admin) › WYSIWYG Toolbar options missing › Reply To: WYSIWYG Toolbar options missing
I sure wish you would fix the fullscreen problem! Annoying to have to code around this.
For me, it turned out to be not the 2nd array, but the 1st. And for good measure, do the same thing for both Full and Basic. In your example you seem to be looking at ‘Full’ and then doing the unset to ‘Basic’. For us, it worked better like this:
if( ($key = array_search('fullscreen' , $toolbars['Full'][1])) !== false )
{
unset( $toolbars['Full'][1][$key] );
}
if( ($key = array_search('fullscreen' , $toolbars['Basic'][1])) !== false )
{
unset( $toolbars['Basic'][1][$key] );
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.