ACF_Admin_Tool_Export::html_single()publicACF 5.6.3



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

Хуков нет.


null. Ничего.


$ACF_Admin_Tool_Export = new ACF_Admin_Tool_Export();

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

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

Код ACF_Admin_Tool_Export::html_single() ACF 6.0.4

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 class="acf-postbox-columns">
	<div class="acf-postbox-main">
		<?php $this->html_generate(); ?>
	<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>