This function allows to display the WooCommerce Memberships area in your custom account page with just 2 shortcodes. Also let you control the redirection for the advanced actions, so when the user click on View button, to display the Membership restricted content, will be redirected where you need.
Its compatible with WooCommerce Subscriptions and the WSHK shortcodes as the Orders list, Addresses and payment method shortcodes.
If you want to display the WooCommerce Memberships area in your custom account page, you just have to follow these steps:
1º Activate the function making the slider show in green
2º It displays the advanced options of the function
3º Copy the Woo Membership table shortcode and paste into your custom account page
4º Copy the Woo Membership content shortcode and paste into your custom account page
5º Go to the section WSHK PRO SETTINGS and look for the function Custom redirections for advanced actions of WooCommerce my account to set the redirection.
6º If you are using WooCommerce Subscriptions, you can use this option to do compatible the View Billing button with Custom redirections for advanced actions of WooCommerce my account to set the redirection.
If you want to expand the possibilities of your shop, you can do it with the following functions included in this section.
This function only work if you have installed and activate WooCommerce Memberships
Dedicated to WooCommerce plugins developing.