Changeset 52354
- Timestamp:
- 12/11/2021 11:14:17 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r52345 r52354 1192 1192 1193 1193 /** 1194 * Enqueue a stylesheet for a specific block.1194 * Enqueues a stylesheet for a specific block. 1195 1195 * 1196 1196 * If the theme has opted-in to separate-styles loading, … … 1198 1198 * otherwise when the block inits. 1199 1199 * 1200 * @since 5.9.0 1201 * 1200 1202 * @param string $block_name The block-name, including namespace. 1201 1203 * @param array $args An array of arguments [handle,src,deps,ver,media]. 1202 *1203 1204 * @return void 1204 1205 */ … … 1221 1222 * the content needs to be returned so the function parameter 1222 1223 * is to ensure the content exists. 1223 * 1224 * @return string 1224 * @return string Block content. 1225 1225 */ 1226 1226 $callback = static function( $content ) use ( $args ) { … … 1276 1276 * Allow multiple block styles. 1277 1277 * 1278 * @since 5.9.0 1279 * 1278 1280 * @param array $metadata Metadata for registering a block type. 1279 * 1280 * @return array 1281 * @return array Metadata for registering a block type. 1281 1282 */ 1282 1283 function _wp_multiple_block_styles( $metadata ) {
Note: See TracChangeset
for help on using the changeset viewer.