Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fix_agile_date_field( $user_meta, $user_id ) {
- if( ! empty( $user_meta['license_expiry'] ) ) {
- $user_meta['license_expiry'] = date( 'm/d/Y', $user_meta['license_expiry'] );
- }
- return $user_meta;
- }
- add_filter( 'wpf_pulled_user_meta', 'fix_agile_date_field', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement