or for that matter, assign(), because i cant find a source that uses that function name in conjunction with WP in general or ACF in specific (though to be frank, ACFâs documentation is⌠thin at best for an actual coder).
It is just an example how to define variable inside Smarty framework and I try to use it within WordPress as defined variable name but ACF plugin will be used:
$user_outside_germany
So, defined variable is not needed assign(âuser_outside_germanyâ, $user_outside_germany);
The steps:
ACF plugin and added a Group: Cybersecurity,
ACF plugin Add field and Field Label: User outside Germany and Timestamp
ACF plugin Add Field Name: user_outside_germany and $cur_timestamp
How to store value in the ACF added field name: user_outside_germany?
You probably want a session here rather than ACF as you want one value per visitor (ie some are from Germany some are not) not one value for all visitors (this visitor is from Germany so now all visitors see German time).