acf/location/screen
Filters the result.
Использование
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(массив)
- The screen args.
- $deprecated(массив)
- The field group array.
Список изменений
| С версии 5.6.0 | Введена. |
Где вызывается хук
acf/location/screen
acf/includes/locations.php 314
return apply_filters( 'acf/location/screen', $screen, $deprecated );