ACF_Assets::print_uploader_scripts
Prints uploader scripts in footer.
Method of the class: ACF_Assets{}
Hooks from the method
Returns
null. Nothing (null).
Usage
$ACF_Assets = new ACF_Assets(); $ACF_Assets->print_uploader_scripts();
Changelog
| Since 5.9.0 | Introduced. |
ACF_Assets::print_uploader_scripts() ACF Assets::print uploader scripts code ACF 6.0.4
<?php
public function print_uploader_scripts() {
// Todo: investigate output-buffer to hide HTML.
?>
<div id="acf-hidden-wp-editor" style="display: none;">
<?php wp_editor( '', 'acf_content' ); ?>
</div>
<?php
/**
* Fires when printing uploader scripts.
*
* @since 5.6.9
*
* @param void
*/
do_action( 'acf/admin_print_uploader_scripts' );
}