How to get URL for page?

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    Posts
    • #31748
      Tavan
      Guest

      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
      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

Viewing 1 reply thread
  • The topic ‘How to get URL for page?’ is closed to new replies.