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.5.2

do_action('wp_enqueue_scripts') is found 2 times:

  • /wp-includes/script-loader.php line 2252
    	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 2265
    	 * 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: