ACF_Admin::in_admin_header
Renders the admin navigation element.
Method of the class: ACF_Admin{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Admin = new ACF_Admin(); $ACF_Admin->in_admin_header();
Changelog
| Since 5.9.0 | Introduced. |
ACF_Admin::in_admin_header() ACF Admin::in admin header code ACF 6.0.4
function in_admin_header() {
acf_get_view( 'html-admin-navigation' );
$screen = get_current_screen();
if ( isset( $screen->base ) && 'post' === $screen->base ) {
acf_get_view( 'html-admin-form-top' );
}
}