- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.wp-scripts.php
r15601 r12558 43 43 * @param array $deps (optional) Array of script names on which this script depends 44 44 * @param string|bool $ver (optional) Script version (used for cache busting), set to NULL to disable 45 * @param bool $in_footer (optional) Whether to enqueue the script before </head> or before </body>45 * @param bool (optional) Wether to enqueue the script before </head> or before </body> 46 46 * @return null 47 47 */ … … 109 109 110 110 /** 111 * Remove an enqueued script.112 *113 * @since WP 3.1114 * @see WP_Scripts::dequeue() For parameter information.115 */116 function wp_dequeue_script( $handle ) {117 global $wp_scripts;118 if ( !is_a($wp_scripts, 'WP_Scripts') )119 $wp_scripts = new WP_Scripts();120 121 $wp_scripts->dequeue( $handle );122 }123 124 /**125 111 * Check whether script has been added to WordPress Scripts. 126 112 *
Note: See TracChangeset
for help on using the changeset viewer.