acf_get_location_screen()
Returns ann array of screen args to be used against matching rules.
Хуки из функции
Возвращает
Массив
.
Использование
acf_get_location_screen( $screen, $deprecated );
- $screen(массив)
- The screen args.
По умолчанию: array() - $deprecated(массив)
- The field group array.
По умолчанию: false
Список изменений
С версии 5.9.0 | Введена. |
Код acf_get_location_screen() acf get location screen ACF 6.0.4
function acf_get_location_screen( $screen = array(), $deprecated = false ) { // Apply defaults. $screen = wp_parse_args( $screen, array( 'lang' => acf_get_setting( 'current_language' ), 'ajax' => false, ) ); /** * Filters the result. * * @date 30/5/17 * @since 5.6.0 * * @param array $screen The screen args. * @param array $deprecated The field group array. */ return apply_filters( 'acf/location/screen', $screen, $deprecated ); }