Home › Forums › General Issues › Execute PHP In Text Field? › Reply To: Execute PHP In Text Field?
I would jump on google and see what you can find as possible solutions for URL strings and migration.
Because this is a simple text value, the issue is not 100% related to the ACF plugin, it is a common WP / Web issue.
On projects of my own, I would not allow my client to enter PHP into a string. This is simply asking for problems. Instead, I would allow them to enter a string url, or perhaps use a post_object field type to link to a post / page?
There is a great plugin called ‘Migrate DB Pro’ which will pull / push DB to another website and also do a string replace for urls!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.