Changeset 35046
- Timestamp:
- 10/12/2015 03:45:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r35045 r35046 1378 1378 * Attributes of the gallery shortcode. 1379 1379 * 1380 * @type string $order Order of the images in the gallery. Default 'ASC'. Accepts 'ASC', 'DESC'.1381 * @type string $orderby The field to use when ordering the images. Default 'menu_order ID'.1382 * Accepts any valid SQL ORDERBY statement.1383 * @type int $id Post ID.1384 * @type string $itemtag HTML tag to use for each image in the gallery.1385 * Default 'dl', or 'figure' when the theme registers HTML5 gallery support.1386 * @type string $icontag HTML tag to use for each image's icon.1387 * Default 'dt', or 'div' when the theme registers HTML5 gallery support.1388 * @type string $captiontag HTML tag to use for each image's caption.1389 * Default 'dd', or 'figcaption' when the theme registers HTML5 gallery support.1390 * @type int $columns Number of columns of images to display. Default 3.1391 * @type string|array $size Size of the images to display. Accepts any valid image size, or an array of width1392 * and height values in pixels (in that order). Default 'thumbnail'.1393 * @type string $ids A comma-separated list of IDs of attachments to display. Default empty.1394 * @type string $include A comma-separated list of IDs of attachments to include. Default empty.1395 * @type string $exclude A comma-separated list of IDs of attachments to exclude. Default empty.1396 * @type string $link What to link each image to. Default empty (links to the attachment page).1397 * Accepts 'file', 'none'.1380 * @type string $order Order of the images in the gallery. Default 'ASC'. Accepts 'ASC', 'DESC'. 1381 * @type string $orderby The field to use when ordering the images. Default 'menu_order ID'. 1382 * Accepts any valid SQL ORDERBY statement. 1383 * @type int $id Post ID. 1384 * @type string $itemtag HTML tag to use for each image in the gallery. 1385 * Default 'dl', or 'figure' when the theme registers HTML5 gallery support. 1386 * @type string $icontag HTML tag to use for each image's icon. 1387 * Default 'dt', or 'div' when the theme registers HTML5 gallery support. 1388 * @type string $captiontag HTML tag to use for each image's caption. 1389 * Default 'dd', or 'figcaption' when the theme registers HTML5 gallery support. 1390 * @type int $columns Number of columns of images to display. Default 3. 1391 * @type string|array $size Size of the images to display. Accepts any valid image size, or an array of width 1392 * and height values in pixels (in that order). Default 'thumbnail'. 1393 * @type string $ids A comma-separated list of IDs of attachments to display. Default empty. 1394 * @type string $include A comma-separated list of IDs of attachments to include. Default empty. 1395 * @type string $exclude A comma-separated list of IDs of attachments to exclude. Default empty. 1396 * @type string $link What to link each image to. Default empty (links to the attachment page). 1397 * Accepts 'file', 'none'. 1398 1398 * } 1399 1399 * @return string HTML content to display gallery.
Note: See TracChangeset
for help on using the changeset viewer.