Core Function
View Source on Trac ↗ wp_prototype_before_jquery()
wp_prototype_before_jquery( mixed $js_array ) Reorders JavaScript scripts array to place prototype before jQuery.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $js_array string[] | JavaScript scripts array Required |
Return Value
(string[])
Reordered array, if needed.
Function Information
Since Version
2.3.1
Source File
wp-includes/script-loader.php
Advertisement