You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@douglasscriptore Shortcodes are rendered via PHP as regular DOM elements inside WP. You will have to assign those attributes to DOM element, and then you can get them with document.querySelector.
How do I get attributes from the shortcode within React?
Example: [my-shot-code view="main"]
The text was updated successfully, but these errors were encountered: