Skip to content

Instantly share code, notes, and snippets.

@wp-user-manager
Created March 15, 2023 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wp-user-manager/a816b7290ab44f0825502691ce1d34c4 to your computer and use it in GitHub Desktop.
Save wp-user-manager/a816b7290ab44f0825502691ce1d34c4 to your computer and use it in GitHub Desktop.
WP User Manager - Change the display format of the Date field in the date picker
<?php
add_filter( 'wpum_field_datepicker_date_format', function (){
return 'd-m-Y';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment