ACF_Admin_Post_type::edit_form_after_title
This action will allow ACF to render metaboxes after the title.
Метод класса: ACF_Admin_Post_type{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Admin_Post_type = new ACF_Admin_Post_type(); $ACF_Admin_Post_type->edit_form_after_title();
Код ACF_Admin_Post_type::edit_form_after_title() ACF Admin Post type::edit form after title ACF 6.4.2
public function edit_form_after_title() {
// globals.
global $post;
// render post data.
acf_form_data(
array(
'screen' => 'post_type',
'post_id' => $post->ID,
'delete_fields' => 0,
'validation' => 1,
)
);
}