WPIntell

Source evidence

Using ACF User Fields to Show/Hide Divi Modules

Content Visibility for Divi Builder · support · 2022-03-11T00:25:00+00:00

complaintsentiment
mediumseverity
0.87relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 28 rows with source links

21.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
911996c4s unresolved
I’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?

Comments

1 shown
911996c4s 2022-07-26T14:03:00+00:00

This is still an issue I’ve been unable to resolve. Is it possible to receive any guidance or help, please?