media_buttons action-hookACF 1.0

This is a WordPress - media_buttons hook. The plugin just uses it.

Fires after the default media button(s) are displayed.

Usage

add_action( 'media_buttons', 'wp_kama_media_buttons_action' );

/**
 * Function for `media_buttons` action-hook.
 * 
 * @param string $editor_id Unique editor identifier, e.g. 'content'.
 *
 * @return void
 */
function wp_kama_media_buttons_action( $editor_id ){

	// action...
}
$editor_id(string)
Unique editor identifier, e.g. 'content'.

Where the hook is called

acf_field_wysiwyg::render_field()
media_buttons

Where the hook is used in Advanced Custom Fields PRO

Usage not found.