Title: Replace Text &#8211; Before or after Shortcode?
Last modified: December 15, 2021

---

# Replace Text – Before or after Shortcode?

 *  Resolved [ruu1989](https://wordpress.org/support/users/ruu1989/)
 * (@ruu1989)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/replace-text-before-or-after-shortcode/)
 * Hey Folks –
 * Does anyone know if this replacement is run before or after shortcodes are executed?
 * Specifically could I use it to hydrate some dynamic parameters into a shortcode?
 * i.e.:
 * [my_shortcode foo=”||dynamically_replace_this||”]
 * Could I trigger a replacement of:
 * ||dynamically_replace_this||
 * to
 * bar
 * Does that make any sense?
 * Thank you!
    Ruu

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/replace-text-before-or-after-shortcode/#post-15166958)
 * This plugin runs after everything else including shortcodes, other plugins, and
   the theme itself.

Viewing 1 replies (of 1 total)

The topic ‘Replace Text – Before or after Shortcode?’ is closed to new replies.

 * ![](https://ps.w.org/real-time-find-and-replace/assets/icon-256x256.png?rev=1347950)
 * [Real-Time Find and Replace](https://wordpress.org/plugins/real-time-find-and-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/real-time-find-and-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-find-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-find-and-replace/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/replace-text-before-or-after-shortcode/#post-15166958)
 * Status: resolved