Conversation
supportI’m trying to only display certain Divi modules dependent on whether a logged in users meta data value exists or not. The particular field is called “subscription”. The code I have come up with so far is the following: $user_info = get_userdata(get_current_user_id()); $subscription= the_field(‘subscription’, ‘user_’. get_current_user_id()); $subscription !== ” I really have no idea what I’m doing so I apologise if the code is way off the mark. I have searched the plugins support forum here and mashed together what I believe to be the best fit code, but clearly I’m wrong!
This is still an issue I’ve been unable to resolve. Is it possible to receive any guidance or help, please?
This is still an issue I’ve been unable to resolve. Is it possible to receive any guidance or help, please?