mce_buttons_3 хук-фильтрACF 1.0

Это хук WordPress - mce_buttons_3. Плагин его просто использует.

Filters the third-row list of TinyMCE buttons (Visual tab).

Использование

add_filter( 'mce_buttons_3', 'wp_kama_mce_buttons_3_filter', 10, 2 );

/**
 * Function for `mce_buttons_3` filter-hook.
 * 
 * @param array  $mce_buttons_3 Third-row list of buttons.
 * @param string $editor_id     Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.
 *
 * @return array
 */
function wp_kama_mce_buttons_3_filter( $mce_buttons_3, $editor_id ){

	// filter...
	return $mce_buttons_3;
}
$mce_buttons_3(массив)
Third-row list of buttons.
$editor_id(строка)
Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.

Где вызывается хук

acf_field_wysiwyg::get_toolbars()
mce_buttons_3
acf/includes/fields/class-acf-field-wysiwyg.php 117
3 => apply_filters( 'mce_buttons_3', array(), $editor_id ),

Где используется хук в Advanced Custom Fields PRO

Использование не найдено.