Hi,
I’ve used X, and later Pro, for a long time now. I’ve written a lot of custom code over the years, and a lot of it can be replaced with the new features that have been released over the years, in particular Dynamic Content, in combination with Advanced Custom Fields.
One thing I haven’t been able to solve is using a site_option through Dynamic Content. ACF uses site options, but some of my custom code does it as well. For example through using the core update_option() function.
The challenge I’m currently facing is how to retrieve the value of that option using Dynamic Content.
So for example, somewhere in my code there’s this line, which updates an option in the DB: update_option('eb_gameresults_all_failed_abs', $failedGames);
How can I retrieve the value of this option, so I can use it within Pro?