use_google_chrome_frame filter-hookWP 3.2.0

Filters whether Google Chrome Frame should be used, if available.

Usage

add_filter( 'use_google_chrome_frame', 'wp_kama_use_google_chrome_frame_filter' );

/**
 * Function for `use_google_chrome_frame` filter-hook.
 * 
 * @param bool $is_admin Whether to use the Google Chrome Frame.
 *
 * @return bool
 */
function wp_kama_use_google_chrome_frame_filter( $is_admin ){

	// filter...
	return $is_admin;
}
$is_admin(true|false)
Whether to use the Google Chrome Frame.
Default: value of is_admin()

Changelog

Since 3.2.0 Introduced.

Where the hook is called

In file: /wp-includes/vars.php
use_google_chrome_frame
wp-includes/vars.php 84
$is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin );

Where the hook is used in WordPress

Usage not found.