ACF_Admin_Tool_Export::html_archive()publicACF 5.6.3

html_archive

description

{} Это метод класса: ACF_Admin_Tool_Export{}

Хуков нет.

Возвращает

null. Ничего.

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

$ACF_Admin_Tool_Export = new ACF_Admin_Tool_Export();
$ACF_Admin_Tool_Export->html_archive();

Список изменений

С версии 5.6.3 Введена.

Код ACF_Admin_Tool_Export::html_archive() ACF 5.10.2

<?php
function html_archive() {

	?>
<p><?php _e( 'Select the field groups you would like to export and then select your export method. Use the download button to export to a .json file which you can then import to another ACF installation. Use the generate button to export to PHP code which you can place in your theme.', 'acf' ); ?></p>
<div class="acf-fields">
	<?php $this->html_field_selection(); ?>
</div>
<p class="acf-submit">
	<button type="submit" name="action" class="button button-primary" value="download"><?php _e( 'Export File', 'acf' ); ?></button>
	<button type="submit" name="action" class="button" value="generate"><?php _e( 'Generate PHP', 'acf' ); ?></button>
</p>
	<?php

}