acf/enqueue_uploader
Fires when enqueuing the uploader.
Usage
add_action( 'acf/enqueue_uploader', 'wp_kama_acf_enqueue_uploader_action' );
/**
* Function for `acf/enqueue_uploader` action-hook.
*
* @return void
*/
function wp_kama_acf_enqueue_uploader_action(){
// action...
}Changelog
| Since 5.6.9 | Introduced. |
Where the hook is called
acf/enqueue_uploader
acf/includes/assets.php 329
do_action( 'acf/enqueue_uploader' );
Where the hook is used in Advanced Custom Fields PRO
acf/includes/fields/class-acf-field-wysiwyg.php 51
add_action( 'acf/enqueue_uploader', array( $this, 'acf_enqueue_uploader' ) );