ACF_Admin_Tool_Export::html_single()publicACF 5.6.3

html_single

description

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

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

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

Код ACF_Admin_Tool_Export::html_single() ACF 6.0.4

<?php
function html_single() {

	?>
<div class="acf-postbox-header">
	<h2 class="acf-postbox-title"><?php _e( 'Export Field Groups - Generate PHP', 'acf' ); ?></h2>
	<i tabindex="0" class="acf-icon acf-icon-help acf-js-tooltip" title="<?php esc_attr_e( "The following code can be used to register a local version of the selected field group(s). A local field group can provide many benefits such as faster load times, version control & dynamic fields/settings. Simply copy and paste the following code to your theme's functions.php file or include it within an external file.", 'acf' ); ?>">?</i>
</div>
<div class="acf-postbox-columns">
	<div class="acf-postbox-main">
		<?php $this->html_generate(); ?>
	</div>
	<div class="acf-postbox-side">
		<?php $this->html_panel_selection(); ?>
		<p class="acf-submit">
			<button type="submit" name="action" class="acf-btn" value="generate"><?php _e( 'Generate PHP', 'acf' ); ?></button>
		</p>
	</div>
</div>
	<?php

}