[ Index ] |
WordPress Cross Reference |
[Source view] [Print] [Project Stats]
WordPress scripts and styles default loader. Most of the functionality that existed here was moved to {@link http://backpress.automattic.com/ BackPress}. WordPress themes and plugins will only be concerned about the filters and actions set in this file.
File Size: | 957 lines (46 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 6 files wp-includes/class.wp-scripts.php wp-includes/functions.wp-styles.php wp-includes/functions.wp-scripts.php wp-includes/class.wp-dependencies.php wp-includes/class.wp-styles.php wp-includes/version.php |
wp_default_scripts( &$scripts ) X-Ref |
Register all WordPress scripts. Localizes some of them. args order: $scripts->add( 'handle', 'url', 'dependencies', 'query-string', 1 ); when last arg === 1 queues the script for the footer param: object $scripts WP_Scripts object. |
wp_default_styles( &$styles ) X-Ref |
Assign default styles to $styles object. Nothing is returned, because the $styles parameter is passed by reference. Meaning that whatever object is passed will be updated without having to reassign the variable that was passed back to the same value. This saves memory. Adding default styles is not the only task, it also assigns the base_url property, the default version, and text direction for the object. param: object $styles |
wp_prototype_before_jquery( $js_array ) X-Ref |
Reorder JavaScript scripts array to place prototype before jQuery. param: array $js_array JavaScript scripts array return: array Reordered array, if needed. |
wp_just_in_time_script_localization() X-Ref |
Load localized data on print rather than initialization. These localizations require information that may not be loaded even by init. |
wp_style_loader_src( $src, $handle ) X-Ref |
Administration Screen CSS for changing the styles. If installing the 'wp-admin/' directory will be replaced with './'. The $_wp_admin_css_colors global manages the Administration Screens CSS stylesheet that is loaded. The option that is set is 'admin_color' and is the color and key for the array. The value for the color key is an object with a 'url' parameter that has the URL path to the CSS file. The query from $src parameter will be appended to the URL that is given from the $_wp_admin_css_colors array value URL. param: string $src Source URL. param: string $handle Either 'colors' or 'colors-rtl'. return: string URL path to CSS stylesheet for Administration Screens. |
print_head_scripts() X-Ref |
Prints the script queue in the HTML head on admin pages. Postpones the scripts that were queued for the footer. print_footer_scripts() is called in the footer to print these scripts. |
print_footer_scripts() X-Ref |
Prints the scripts that were queued for the footer or too late for the HTML head. |
_print_scripts() X-Ref |
wp_print_head_scripts() X-Ref |
Prints the script queue in the HTML head on the front end. Postpones the scripts that were queued for the footer. wp_print_footer_scripts() is called in the footer to print these scripts. |
_wp_footer_scripts() X-Ref |
Private, for use in *_footer_scripts hooks |
wp_print_footer_scripts() X-Ref |
Hooks to print the scripts and styles in the footer. |
wp_enqueue_scripts() X-Ref |
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. |
print_admin_styles() X-Ref |
Prints the styles queue in the HTML head on admin pages. |
print_late_styles() X-Ref |
Prints the styles that were queued too late for the HTML head. |
_print_styles() X-Ref |
script_concat_settings() X-Ref |
Determine the concatenation and compression settings for scripts and styles. |
Generated: Tue Mar 25 01:41:18 2014 | WordPress honlapkészítés: online1.hu |