ACF_Assets::print_uploader_scripts
Prints uploader scripts in footer.
Метод класса: ACF_Assets{}
Хуки из метода
Возвращает
null. Ничего (null).
Использование
$ACF_Assets = new ACF_Assets(); $ACF_Assets->print_uploader_scripts();
Список изменений
| С версии 5.9.0 | Введена. |
Код ACF_Assets::print_uploader_scripts() ACF Assets::print uploader scripts ACF 6.4.2
<?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' );
}