Filter hook 'wp_get_attachment_link_attributes'

in WP Core File wp-includes/post-template.php at line 1680

Description

Filters the list of attachment link attributes.

Occurrences

Filename Line Number
wp-includes/post-template.php 1680

Parameters

Type Name Description
array $attributes An array of attributes for the link markup, keyed on the attribute name.
int $id Post ID.

PHP Doc

/**
	 * Filters the list of attachment link attributes.
	 *
	 * @since 6.2.0
	 *
	 * @param array $attributes An array of attributes for the link markup,
	 *                          keyed on the attribute name.
	 * @param int   $id         Post ID.
	 */