Function:
mp_core_enhanced_image_navigation()
Purpose:
Unconfirmed. Has been included purely because of its existence in the _s theme which says its purpose is “To filter in a link to a content ID attribute for the next/previous image links on image attachment pages.”
This function may be removed.
Overview:
This function’s purpose is currently unconfirmed. It is currently hooked to “attachment_link” and appears to add “#main” to the end of image URLs.
Usage:
This function is automatically hooked and activated by the MP Core plugin when the Theme Specific Scripts have been activated.
Parameters:
(string) $url
The URL to the attachment page
(string) $id
The ID of the attachment
Returns:
(array)
The URL to the attachment page