acf/location/screen
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/location/screen
acf/includes/locations.php 314
return apply_filters( 'acf/location/screen', $screen, $deprecated );