Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wp-user-manager/52125541ee96507d979f5fd1643fb208 to your computer and use it in GitHub Desktop.
Save wp-user-manager/52125541ee96507d979f5fd1643fb208 to your computer and use it in GitHub Desktop.
WP User Manager - Rearrange order of account page tabs
<?php
function my_wpum_rearrange_account_tabs( $tabs ) {
// Find the correct slug used in the URL, alter the priority
$tabs['email-subscriptions'] ['priority'] = 5;
return $tabs;
}
add_filter( 'wpum_get_account_page_tabs', 'my_wpum_rearrange_account_tabs', 100 );
@KeymerHealth
Copy link

Thank you for confirming those slugs and for linking the plugin code. I made the adjustments and uploaded the php file and it has worked perfectly. Thank you for your help with this! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment