• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / wp-includes/script-loader.php


Lines:

1 to 100 of 113
<?php

/**
 * WordPress scripts and styles default loader.
 *
 * Several constants are used to manage the loading, concatenating and compression of scripts and CSS:
 * define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and CSS, and disables compression and concatenation,
 * define('CONCATENATE_SCRIPTS', false); disables compression and concatenation of scripts and CSS,
 * define('COMPRESS_SCRIPTS', false); disables compression of scripts,
 * define('COMPRESS_CSS', false); disables compression of CSS,
 * define('ENFORCE_GZIP', true); forces gzip for compression (default is deflate).
 *
 * The globals $concatenate_scripts, $compress_scripts and $compress_css can be set by plugins
 * to temporarily override the above settings. Also a compression test is run once and the result is saved
 * as option 'can_compress_scripts' (0/1). The test will run again if that option is deleted.
 *
 * @package WordPress
 */


/** WordPress Dependency Class */
require ABSPATH . WPINC . '/class-wp-dependency.php';


/** WordPress Dependencies Class */
require ABSPATH . WPINC . '/class.wp-dependencies.php';


/** WordPress Scripts Class */
require ABSPATH . WPINC . '/class.wp-scripts.php';


/** WordPress Scripts Functions */
require ABSPATH . WPINC . '/functions.wp-scripts.php';


/** WordPress Styles Class */
require ABSPATH . WPINC . '/class.wp-styles.php';


/** WordPress Styles Functions */
require ABSPATH . WPINC . '/functions.wp-styles.php';

/* function wp_register_tinymce_scripts() – Registers TinyMCE scripts. */

/* function wp_default_packages_vendor() – Registers all the WordPress vendor scripts that are in the standardized
`js/dist/vendor/` location. */

/* function wp_get_script_polyfill() – Returns contents of an inline script used in appending polyfill scripts for
browsers which fail the provided tests. The provided array is a mapping from
a condition to verify feature support to its polyfill script handle. */

/* function wp_default_packages_scripts() – Registers all the WordPress packages scripts that are in the standardized
`js/dist/` location. */

/* function wp_default_packages_inline_scripts() – Adds inline scripts required for the WordPress JavaScript packages. */

/* function wp_tinymce_inline_scripts() – Adds inline scripts required for the TinyMCE in the block editor. */

/* function wp_default_packages() – Registers all the WordPress packages scripts. */

/* function wp_scripts_get_suffix() – Returns the suffix that can be used for the scripts. */

/* function wp_default_scripts() – Register all WordPress scripts. */

/* function wp_default_styles() – Assign default styles to $styles object. */

/* function wp_prototype_before_jquery() – Reorder JavaScript scripts array to place prototype before jQuery. */

/* function wp_just_in_time_script_localization() – Load localized data on print rather than initialization. */

/* function wp_localize_jquery_ui_datepicker() – Localizes the jQuery UI datepicker. */

/* function wp_localize_community_events() – Localizes community events data that needs to be passed to dashboard.js. */

/* function wp_style_loader_src() – Administration Screen CSS for changing the styles. */

/* function print_head_scripts() – Prints the script queue in the HTML head on admin pages. */

/* function print_footer_scripts() – Prints the scripts that were queued for the footer or too late for the HTML head. */

/* function _print_scripts() – Print scripts (internal use only) */

/* function wp_print_head_scripts() – Prints the script queue in the HTML head on the front end. */

/* function _wp_footer_scripts() – Private, for use in *_footer_scripts hooks */

/* function wp_print_footer_scripts() – Hooks to print the scripts and styles in the footer. */

/* function wp_enqueue_scripts() – Wrapper for do_action(‘wp_enqueue_scripts’) */

/* function print_admin_styles() – Prints the styles queue in the HTML head on admin pages. */

/* function print_late_styles() – Prints the styles that were queued too late for the HTML head. */

/* function _print_styles() – Print styles (internal use only) */

/* function script_concat_settings() – Determine the concatenation and compression settings for scripts and styles. */

/* function wp_common_block_scripts_and_styles() – Handles the enqueueing of block scripts and styles that are common to both
the editor and the front-end. */
[1] [2] Next »

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: wp-includes/script-loader.php
      Plugin ref: WordPress
      Version: 5.6
      Deprecated?: No
      API Letters: I,L,P,S,W

      Published: 25th November 2019 | Last updated: 9th December 2020

      Primary Sidebar

      Information

      File name: wp-includes/script-loader.php
      Plugin ref: WordPress
      Version: 5.6
      Deprecated?: No
      API Letters: I,L,P,S,W

      wp-includes

      Footer

      WP-a2z
      WordPress core a2z
      WordPress core only
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  core.wp-a2z.org
      © Copyright WP-a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites