W3cubDocs

/WordPress

the_attachment_links( int|bool $id = false )

This function has been deprecated.

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

Parameters

$id

(int|bool) (Optional)

Default value: false

Source

File: wp-admin/includes/deprecated.php

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–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_attachment_links