ACF_Form_Post::edit_form_after_title
edit_form_after_title
Called after the title adn before the content editor.
Method of the class: ACF_Form_Post{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Form_Post = new ACF_Form_Post(); $ACF_Form_Post->edit_form_after_title();
Changelog
| Since 5.7.6 | Introduced. |
ACF_Form_Post::edit_form_after_title() ACF Form Post::edit form after title code 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>';
}