wp_enqueue_scripts

wp_enqueue_scripts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_enqueue_scripts') is found 2 times:

  • /wp-includes/script-loader.php line 2259
    2255
    2256
    2257
    2258
    2259
    2260
    2261
    2262
    2263
    2264
    2265
        do_action( 'wp_print_footer_scripts' );
    }
     
    /**
     * Wrapper for do_action( 'wp_enqueue_scripts' ).
     *
     * Allows plugins to queue scripts for the front end using wp_enqueue_script().
     * Runs first in wp_head() where all is_home(), is_page(), etc. functions are available.
     *
     * @since 2.8.0
     */
  • /wp-includes/script-loader.php line 2272
    2268
    2269
    2270
    2271
    2272
    2273
    2274
    2275
    2276
    2277
    2278
         * Fires when scripts and styles are enqueued.
         *
         * @since 2.8.0
         */
        do_action( 'wp_enqueue_scripts' );
    }
     
    /**
     * Prints the styles queue in the HTML head on admin pages.
     *
     * @since 2.8.0

See this hook used in plugins: