Changeset 49020 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 09/20/2020 03:53:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r48991 r49020 1646 1646 * Default 'thumbnail'. 1647 1647 * @param bool $permalink Whether to add permalink to image. Default false. 1648 * @param bool $icon Whether to include an icon. Default false.1649 * @param string|bool $text If string, will be link text. Default false.1650 * @param array|string $attr Array or string of attributes. Default empty.1648 * @param bool $icon Whether to include an icon. 1649 * @param string|bool $text If string, will be link text. 1650 * @param array|string $attr Array or string of attributes. 1651 1651 */ 1652 1652 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text, $attr );
Note: See TracChangeset
for help on using the changeset viewer.