Advertisement
fauzanjeg

Change URL My Account Menu

Dec 14th, 2021
1,671
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /* Change URL My Account Menu */
  2. function change_url_my_account_menu( $endpoint ) {
  3.     $endpoint['account']['slug'] = 'my-account';
  4.     return $endpoint;
  5. }
  6. add_filter( 'jnews_account_page_endpoint', 'change_url_my_account_menu' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement