Custom Prefix from custom field at user
-
Hello!
I have a value in a custom field, which is connected to the user and not to posts or pages.I have this code to get this value and want to use the value for the prefix of the order number:
$userFHJcustomerID = apply_filters( 'c2c_get_current_user_custom', 'Kundennummer' );
I use the plugin https://de.www.ads-software.com/plugins/get-user-custom-field-values/ for this step and that works fine.
But I don’t get – with my code – the prefix to the order number at every place of my woocommerce installation. So, I thought, your plugin looks great and maybe this plugin could help, if I can add the value of the user custom field in the prefix of your plugin.Do you see any chance to get this to work?
Maybe with another solution than mine above?I wouldn’t have any problem to order your plugin after ??
Kind regards,
Klaus
- The topic ‘Custom Prefix from custom field at user’ is closed to new replies.