Home › Forums › General Issues › Passing ACF Values into HTML › Reply To: Passing ACF Values into HTML
You cannot use a shortcode as an attribute of another shortcode, for that matter you cannot use a shortcode as an attribute value of anything. This is built into WP and has nothing to do with either plugin.
The only way to do this is by building a PHP filter for the shortcode of the other plugin if the other plugin is build sho that the attiutes are filterablevia this hook shortcode_atts_{$shortcode}.
This works only if the other plugin’s shortcode calls shortcode_atts() and passes the shortcode name in the call (optional 3rd argument). I have not looked at the code of the other plugin to see if this is the case.
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.