Archived topic
Add user contact methods to Dynamic Data
3 replies · Started by Mallory on October 3, 2022
Viewing posts 1–4 of 4
Hello guys,
I added two new fields to authors :
add_filter( 'user_contactmethods', 'modify_user_contact_methods' );
function modify_user_contact_methods( $methods ) {
// Add user contact methods
$methods['linkedin'] = __( 'LinkedIn' );
$methods['title'] = __( 'Job Title' );
return $methods;
}
I would like to use those fields in Dynamic Data, any tips ?
Hi Mallory,
Can you try the method introduced in this video?
https://youtu.be/HMhUo91RjsE?t=298
I should have thought of it before, it's perfect!
Nice! :)
This archived topic is closed to new replies.