Hook into existing shortcodes to manipulate the attributes?


I am looking for a way to hook into an existing shortcode.
Lets say there is a shortcode called [product attr1=”whatever1″ attr2=”whatever2″].

If the shortcode is called in a post, I like to manipulate one of the attributes, lets say attr2 depending on the author of the post.

Is there a way to hook into shortcodes to manipulate them?
Thanks a lot

Waldgeist 1 month 2022-10-20T03:38:46-05:00 0 Answers 0 views 0

Leave an answer