Skip to content

Dashboard pageId renewal link: use frontend page (WP), and fix dashboard renewal link

bgm requested to merge bgm/membershiprenewallink:fixDashboardLink into main

Hi Jaap,

While doing a bit more testing, we found a few issues with my previous MR, fixed in this MR:

  • In the CiviCRM backend, the "Online Renewal" link was not showing, because isLinkAvailableForMembershipType was not returning true.
  • The URL generated should be a frontend URL, not backend (for WordPress)
  • On the User Dashboard, if the membership is not due for renewal, it was still showing the default core link, instead of hiding it.

Thanks!

Merge request reports

Loading