Query String for Custom Endpoint in My Accounts Tab
-
Hello All,
I wanted to add pagination for a list of data for my custom endpoint in my accounts tab.
I added endpoint with:
add_action( ‘woocommerce_account_license_endpoint’, ‘my_account_endpoint_content’ );
and then html with anchor tag:
echo '<a href="https://test-X.com/account/license/?page=1"> Test </a>';
however, it keeps on bringing me back to https://test-X.com/account instead of submitting as a query string to the same page, I tried to type it manually in url it also bring me to the account page, any idea?
Any help will be appreciated! Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Query String for Custom Endpoint in My Accounts Tab’ is closed to new replies.