ACF_Admin_Field_Groups::get_current_admin_urlpublicACF 5.9.0

Returns the Field Groups admin URL taking into account the current view.

Method of the class: ACF_Admin_Field_Groups{}

No Hooks.

Returns

String.

Usage

$ACF_Admin_Field_Groups = new ACF_Admin_Field_Groups();
$ACF_Admin_Field_Groups->get_current_admin_url( $params );
$params(string)
Extra URL params.
Default: ''

Changelog

Since 5.9.0 Introduced.

ACF_Admin_Field_Groups::get_current_admin_url() code ACF 6.0.4

public function get_current_admin_url( $params = '' ) {
	return $this->get_admin_url( ( $this->view ? '&post_status=' . $this->view : '' ) . $params );
}