Home › Forums › Backend Issues (wp-admin) › Hooking into the custom field 'name' › Reply To: Hooking into the custom field 'name'
Here is a another summary if the first writeup is difficult to understand:
Basically what I need is a way to change the name input of a custom field depending on the post that is being edited.
So if we are editing a post that has a URL like this:
http://inboundsoon.dev/wp-admin/post.php?post=95897&action=edit&variation=2Then I need to modify the ACF saved name input to have -2 on the end of it.
And when the same page loads it needs to detect that it needs to populate custom field values from the values stored with -2 in the name key.
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.