Home › Forums › General Issues › Execute PHP In Text Field? › Reply To: Execute PHP In Text Field?
Hi @john.marcello
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!
Thanks
E
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.