I created a custom b, i, u toolbar, but I’d also like to add the read more functionality.
What should I add to my array?
function co_simplify_wysiwyg( $toolbars ){
// Add a new toolbar called "Only B, I, U"
// - this toolbar has only 1 row of buttons
$toolbars['Only B, I, U' ] = array();
$toolbars['Only B, I, U' ][1] = array('bold' , 'italic' , 'underline');
// return $toolbars - IMPORTANT!
return $toolbars;
}
add_filter( 'acf/fields/wysiwyg/toolbars' , 'co_simplify_wysiwyg' );