Changeset 55072 for trunk/src/wp-includes/functions.wp-scripts.php
- Timestamp:
- 01/15/2023 02:55:19 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-scripts.php
r54930 r55072 10 10 11 11 /** 12 * Initialize $wp_scripts if it has not been set.12 * Initializes $wp_scripts if it has not been set. 13 13 * 14 14 * @global WP_Scripts $wp_scripts … … 149 149 150 150 /** 151 * Register a new script.151 * Registers a new script. 152 152 * 153 153 * Registers a script to be enqueued later using the wp_enqueue_script() function. … … 185 185 186 186 /** 187 * Localize a script.187 * Localizes a script. 188 188 * 189 189 * Works only if the script has already been registered. … … 250 250 251 251 /** 252 * Remove a registered script.252 * Removes a registered script. 253 253 * 254 254 * Note: there are intentional safeguards in place to prevent critical admin scripts, … … 323 323 324 324 /** 325 * Enqueue a script.325 * Enqueues a script. 326 326 * 327 327 * Registers the script if $src provided (does NOT overwrite), and enqueues it. … … 365 365 366 366 /** 367 * Remove a previously enqueued script.367 * Removes a previously enqueued script. 368 368 * 369 369 * @see WP_Dependencies::dequeue() … … 401 401 402 402 /** 403 * Add metadata to a script.403 * Adds metadata to a script. 404 404 * 405 405 * Works only if the script has already been registered.
Note: See TracChangeset
for help on using the changeset viewer.