Hi @hiteshkumarwt
Thanks for writing back,
This can be done with the help of a custom code. You have a sample code below. Please use this code and try changing required details.
add_filter('user_registration_form_field_args', 'dropdown_field_options', 10, 3);
function dropdown_field_options($args, $key, $value)
{
$field_name = 'select_12345'; // This should be the field_name of your select field
if ( $key !== $field_name ) {
return $args;
}
$options = array();
// Your logic to extract the taxonomies from post types according to the plugin you use
if($field_name === $key || 'user_registration_'.$field_name === $key ) {
$args['options'] = $options;
}
return $args;
}
I hope this helps.
Regards!