wp_print_scripts
Like this:
Like Loading...
Appears in:
wordpress-4.0,
wordpress-4.4,
wordpress-4.8,
wordpress-4.9,
wordpress-4.9.4,
wordpress-4.9.5,
wordpress-4.9.6,
wordpress-4.9.7,
wordpress-4.9.8,
wordpress-5.0,
wordpress-5.0.1,
wordpress-5.0.2,
wordpress-5.0.3,
wordpress-5.1,
wordpress-5.1.1,
wordpress-5.2,
wordpress-5.2.1,
wordpress-5.2.2,
wordpress-5.2.3,
wordpress-5.2.4,
wordpress-5.3,
wordpress-5.3.1,
wordpress-5.3.2,
wordpress-5.4,
wordpress-5.4.1,
wordpress-5.4.2,
wordpress-5.5,
wordpress-5.5.1,
wordpress-5.5.2,
wordpress-5.5.3,
wordpress-5.6,
wordpress-5.6.1,
wordpress-5.6.2,
wordpress-5.7,
wordpress-5.7.1,
wordpress-5.7.2,
wordpress-5.8,
wordpress-5.8.1,
wordpress-5.8.2,
wordpress-5.8.3,
wordpress-5.9,
wordpress-5.9.1,
wordpress-5.9.2,
wordpress-5.9.3,
wordpress-6.0,
wordpress-6.0.1,
wordpress-6.0.2,
wordpress-6.0.3,
wordpress-6.1,
wordpress-6.1.1,
wordpress-6.2,
wordpress-6.2.1,
wordpress-6.2.2,
wordpress-6.3,
wordpress-6.3.1,
wordpress-6.3.2,
wordpress-6.4,
wordpress-6.4.1,
wordpress-6.4.2,
wordpress-6.4.3,
wordpress-6.5,
wordpress-6.5.2,
wordpress-6.5.3,
wordpress-6.5.4,
wordpress-6.5.5,
wordpress-6.6,
wordpress-6.6.1,
wordpress-6.6.2,
wordpress-6.7,
wordpress-6.7.1,
wordpress-6.7.2Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-6.7.2
do_action('wp_print_scripts') is found 3 times:
- /wp-includes/functions.wp-scripts.php line 95
091 092 093 094 095 096 097 098 099 100 101 | * Fires before scripts in the $handles queue are printed.
*
* @since 2.1.0
*/
do_action( 'wp_print_scripts' );
if ( '' === $handles ) {
$handles = false;
}
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__ );
|
Like this:
Like Loading...
- /wp-includes/script-loader.php line 2104
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 | global $concatenate_scripts ;
if ( ! did_action( 'wp_print_scripts' ) ) {
do_action( 'wp_print_scripts' );
}
$wp_scripts = wp_scripts();
script_concat_settings();
$wp_scripts ->do_concat = $concatenate_scripts ;
|
Like this:
Like Loading...
- /wp-includes/script-loader.php line 2224
2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 | global $wp_scripts ;
if ( ! did_action( 'wp_print_scripts' ) ) {
do_action( 'wp_print_scripts' );
}
if ( ! ( $wp_scripts instanceof WP_Scripts ) ) {
return array ();
}
|
Like this:
Like Loading...
See this hook used in plugins: