Is there a way to change the webmentions filepath?

  • Is there a way to change the webmentions filepath in Perch?

    The default code...

    1. perch_blog_post_webmention_endpoint(perch_get('s'));

    currently, returns the following:

    1. <link href="/perch/addons/apps/perch_blog/endpoint/?pid=16" rel="webmention">

    I don't think this is the best approach. Is there anyway we could modify this path to something like:

    1. <link href="/blog/endpoint/?pid=16" rel="webmention">

    Something of this nature which basically doesn't expose backend directory structure.

    Any help is greatly appreciated, even if the answer is "no". At least, I'll know not to use it.