select-plan page

  • Author
    Posts
  • AlexRise

    How to edit select-plan page?

    ihordeveloper

    This option is planned for the next version, meanwhile please try using this code snippet that redirects the built-in plans page to any URL:

    add_action(
    	'template_redirect',
    	function() {
    		if ( get_query_var( 'hp_route' ) === 'membership_plans_view_page' ) {
    			wp_safe_redirect( 'custom URL here' );
    
    			exit;
    		}
    	}
    );

    You can also display plans on any page using the Plans block.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.