Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vikramjeet-dev/4febd31fb0f6eb49610959d673fdc2b6 to your computer and use it in GitHub Desktop.
Save vikramjeet-dev/4febd31fb0f6eb49610959d673fdc2b6 to your computer and use it in GitHub Desktop.
//So there is no backend settings to reorder the account section tabs in ultimate member plugin wordpress so use below code in your footer.php before get_footer();
script type="text/javascript">
$( window ).load(function() {
$("*[data-tab=\"general").removeClass('current');
$("*[data-tab=\"allentries").addClass('current');
$(".um-account-tab-general").css("display", "none");
$(".um-account-tab-allentries").css("display", "block");
$("#min").prop('disabled', false);
$("#max").prop('disabled', false);
$("#add_filter").prop('disabled', false);
$("#btnHome").prop('disabled', false);
$('select[name="frm_entry_data_length"]').prop('disabled', false);
$('input[type="search"]').prop('disabled', false);
$(".dataTables_filter").prop('disabled', false);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment