wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/script-loader.php › WordPress File
Functions30
› WordPress scripts and styles default loader.
Function | Short description |
---|---|
enqueue_block_styles_assets | Function responsible for enqueuing the styles required for block styles functionality on the editor and on the frontend. |
enqueue_editor_block_styles_assets | Function responsible for enqueuing the assets required for block styles functionality on the editor. |
print_admin_styles | Prints the styles queue in the HTML head on admin pages. |
print_footer_scripts | Prints the scripts that were queued for the footer or too late for the HTML head. |
print_head_scripts | Prints the script queue in the HTML head on admin pages. |
print_late_styles | Prints the styles that were queued too late for the HTML head. |
script_concat_settings | Determine the concatenation and compression settings for scripts and styles. |
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. |
wp_default_packages | Registers all the WordPress packages scripts. |
wp_default_packages_inline_scripts | Adds inline scripts required for the WordPress JavaScript packages. |
wp_default_packages_scripts | Registers all the WordPress packages scripts that are in the standardized `js/dist/` location. |
wp_default_packages_vendor | Registers all the WordPress vendor scripts that are in the standardized `js/dist/vendor/` location. |
wp_default_scripts | Register all WordPress scripts. |
wp_default_styles | Assign default styles to $styles object. |
wp_enqueue_editor_block_directory_assets | Enqueues the assets required for the block directory within the block editor. |
wp_enqueue_registered_block_scripts_and_styles | Enqueues registered block scripts and styles, depending on current rendered context (only enqueuing editor scripts while in context of the editor). |
wp_enqueue_scripts | Wrapper for do_action( 'wp_enqueue_scripts' ). |
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. |
wp_just_in_time_script_localization | Load localized data on print rather than initialization. |
wp_localize_community_events | Localizes community events data that needs to be passed to dashboard.js. |
wp_localize_jquery_ui_datepicker | Localizes the jQuery UI datepicker. |
wp_print_footer_scripts | Hooks to print the scripts and styles in the footer. |
wp_print_head_scripts | Prints the script queue in the HTML head on the front end. |
wp_prototype_before_jquery | Reorder JavaScript scripts array to place prototype before jQuery. |
wp_register_tinymce_scripts | Registers TinyMCE scripts. |
wp_scripts_get_suffix | Returns the suffix that can be used for the scripts. |
wp_should_load_block_editor_scripts_and_styles | Checks if the editor scripts and styles for all registered block types should be enqueued on the current screen. |
wp_style_loader_src | Administration Screen CSS for changing the styles. |
wp_tinymce_inline_scripts | Adds inline scripts required for the TinyMCE in the block editor. |
_wp_footer_scripts | Private, for use in *_footer_scripts hooks |