Changeset 24740 for trunk/wp-includes/functions.wp-styles.php
- Timestamp:
- 07/18/2013 07:46:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.wp-styles.php
r23377 r24740 191 191 return (bool) $wp_styles->query( $handle, $list ); 192 192 } 193 194 /** 195 * Add metadata to CSS style files. 196 * 197 * Works only if the stylesheet has already been added. 198 * Possible values for $key and $value: 199 * 200 * conditional string comments for IE 6, lte IE 7 etc. 201 * rtl bool|string to declare an RTL stylesheet 202 * suffix string optional suffix, used in combination with RTL 203 * alt bool for rel="alternate stylesheet" 204 * title string for preferred/alternate stylesheets 205 * 206 * @since 3.6.0 207 * @see WP_Dependencies::add_data() 208 * 209 * @param string $handle Script name. 210 * @param string $key Name of data point for which we're storing a value. 211 * Values are 'conditional', 'rtl', and 'suffix', and 'alt', 'title'. 212 * @param mixed $data 213 * @return bool True on success, false on failure. 214 */ 215 function wp_style_add_data( $handle, $key, $value ) { 216 global $wp_styles; 217 return $wp_styles->add_data( $handle, $key, $value ); 218 }
Note: See TracChangeset
for help on using the changeset viewer.