font-library_boot_dependencies filter-hookWP 1.0

Filters the boot script-module dependencies for the font-library page.

Surfaces extending this page can append entries to the boot dependency list. Each entry is an array with 'import' (string 'static' or 'dynamic') and 'id' (script-module handle) keys.

Usage

add_filter( 'font-library_boot_dependencies', 'wp_kama_font_library_boot_dependencies_filter' );

/**
 * Function for `font-library_boot_dependencies` filter-hook.
 * 
 * @param array $boot_dependencies Boot dependencies for the page.
 *
 * @return array
 */
function wp_kama_font_library_boot_dependencies_filter( $boot_dependencies ){

	// filter...
	return $boot_dependencies;
}
$boot_dependencies(array)
Boot dependencies for the page.

Where the hook is called

wp_font_library_render_page()
font-library_boot_dependencies
wp-includes/build/pages/font-library/page.php 225-228
$boot_dependencies = apply_filters(
	'font-library_boot_dependencies',
	$boot_dependencies
);

Where the hook is used in WordPress

Usage not found.