How to get URL for page?

This topic contains 1 reply, has 2 voices, and was last updated by WCfM Forum WCfM Forum 1 month ago.

  • Author
    Posts
  • #31748 Reply

    Tavan

    I’m wondering if there are any functions for getting the URL of specific pages so that it’s more dynamic.

    For example I want to email users a link to a specific appointment:
    https://site.com/wcfm/appointments-details/2415/

    Is there any function like, just as example: wcfm->get_admin_url(‘appointment’, ‘2415’) or something like that?

    Thanks for any help!

  • #31794 Reply
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    WCFM has separate function for having any of it’s screens URL.

    For having Appoint Details page URL you have to use get_wcfm_view_appointment_url( $appointment_id );

    You may find all these methods at “wc-frontend-manager\helpers\wcfm-core-functions.php” OR “wc-frontend-manager-ultimate\helpers\wcfmu-core-functions.php”

    Thank You

Reply To: How to get URL for page?
Your information: