W3cubDocs

/WordPress

the_attachment_links( int|bool $id = false )

This was once used to display attachment links. Now it is deprecated and stubbed.

Parameters

$idint|booloptional

Default:false

Source

function the_attachment_links( $id = false ) {
	_deprecated_function( __FUNCTION__, '3.7.0' );
}

Changelog

Version Description
3.7.0 This function has been deprecated.
2.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_attachment_links