amp_frontend_add_canonical This function has been deprecated. Use amp_add_amphtml_link() instead. amp_frontend_add_canonical() Description # Add amphtml link to frontend. See also {@see amp_add_amphtml_link()} Source # File: includes/amp-frontend-actions.php Changelog # Changelog Version Description 1.0 Deprecated 0.2 Introduced.