ACF_Form_Post::edit_form_after_title()publicACF 5.7.6

edit_form_after_title

Called after the title adn before the content editor.

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

Хуков нет.

Возвращает

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

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

$ACF_Form_Post = new ACF_Form_Post();
$ACF_Form_Post->edit_form_after_title();

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

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

Код ACF_Form_Post::edit_form_after_title() ACF 6.0.4

function edit_form_after_title() {

	// globals
	global $post, $wp_meta_boxes;

	// render post data
	acf_form_data(
		array(
			'screen'  => 'post',
			'post_id' => $post->ID,
		)
	);

	// render 'acf_after_title' metaboxes
	do_meta_boxes( get_current_screen(), 'acf_after_title', $post );

	// render dynamic field group style
	echo '<style type="text/css" id="acf-style">' . $this->style . '</style>';
}