use_google_chrome_frame хук-фильтр . WP 3.2.0
Filters whether Google Chrome Frame should be used, if available.
Использование
add_filter( 'use_google_chrome_frame', 'filter_function_name_8569' ); function filter_function_name_8569( $is_admin ){ // filter... return $is_admin; }
- $is_admin(true/false)
- Whether to use the Google Chrome Frame.
По умолчанию: value of is_admin()
Список изменений
С версии 3.2.0 | Введена. |
Где вызывается хук
В файле: /wp-includes/vars.php
use_google_chrome_frame
wp-includes/vars.php 80
$is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin );