ACF_Admin::in_admin_headerpublicACF 5.9.0

Renders the admin navigation element.

Method of the class: ACF_Admin{}

Hooks from the method

Returns

void. Nothing (null).

Usage

$ACF_Admin = new ACF_Admin();
$ACF_Admin->in_admin_header();

Changelog

Since 5.9.0 Introduced.

ACF_Admin::in_admin_header() code ACF 6.8.8

function in_admin_header() {
	acf_get_view( 'global/navigation' );

	$screen = get_current_screen();

	if ( isset( $screen->base ) && 'post' === $screen->base ) {
		acf_get_view( 'global/form-top' );
	}

	do_action( 'acf/in_admin_header' );
}