acf_admin_field_group::edit_form_after_title
This action will allow ACF to render metaboxes after the title
Method of the class: acf_admin_field_group{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_admin_field_group = new acf_admin_field_group(); $acf_admin_field_group->edit_form_after_title();
acf_admin_field_group::edit_form_after_title() acf admin field group::edit form after title code ACF 6.0.4
public function edit_form_after_title() {
// globals.
global $post;
// render post data.
acf_form_data(
array(
'screen' => 'field_group',
'post_id' => $post->ID,
'delete_fields' => 0,
'validation' => 0,
)
);
}