acf/location/screen filter-hookACF 5.6.0

Filters the result.

Usage

add_filter( 'acf/location/screen', 'wp_kama_acf_location_screen_filter', 10, 2 );

/**
 * Function for `acf/location/screen` filter-hook.
 * 
 * @param array $screen     The screen args.
 * @param array $deprecated The field group array.
 *
 * @return array
 */
function wp_kama_acf_location_screen_filter( $screen, $deprecated ){
	// filter...
	return $screen;
}
$screen(array)
The screen args.
$deprecated(array)
The field group array.

Changelog

Since 5.6.0 Introduced.

Where the hook is called

acf_get_location_screen()
acf/location/screen
acf/includes/locations.php 314
return apply_filters( 'acf/location/screen', $screen, $deprecated );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.