acf/fields/wysiwyg/toolbars
Usage
add_filter( 'acf/fields/wysiwyg/toolbars', 'wp_kama_acf_fields_wysiwyg_toolbars_filter' );
/**
* Function for `acf/fields/wysiwyg/toolbars` filter-hook.
*
* @param $toolbars
*
* @return
*/
function wp_kama_acf_fields_wysiwyg_toolbars_filter( $toolbars ){
// filter...
return $toolbars;
}
- $toolbars
- -
Where the hook is called
acf/includes/fields/class-acf-field-wysiwyg.php 127
$toolbars = apply_filters( 'acf/fields/wysiwyg/toolbars', $toolbars );