WordPress at a glance
function is not described

the_attachment_links() WP 2.0.0

Deprecated in 3.7.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

No Hooks.


Nothing (null).


the_attachment_links( $id );

Default: false

Code of the attachment links: wp-admin/includes/deprecated.php WP 5.2.2

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