Title: Shortcodes inside protected content
Last modified: September 5, 2023

---

# Shortcodes inside protected content

 *  [sunrises](https://wordpress.org/support/users/sunrises/)
 * (@sunrises)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-inside-protected-content/)
 * It is a great plugin. But if I want to protect a phone number which is inserted
   in a page with a shortcode like this …
 * > My number: [telephone_number]
 * … then the shortcode does not work anymore, showing „[telephone_number]“ instead
   of „+4963832839293″.
 * What can I do?

Viewing 1 replies (of 1 total)

 *  [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-inside-protected-content/#post-17334381)
 * Hey [@sunrises](https://wordpress.org/support/users/sunrises/), Thanks for reaching
   out! You can execute shortcodes by setting the do_shortcode argument within the
   shortcode itself: Here’s a full example:
 * [eeb_protect_content protection_text=”I am a noscript text” method=”rot13″ do_shortcode
   =”yes”]My Email[/eeb_protect_content

Viewing 1 replies (of 1 total)

The topic ‘Shortcodes inside protected content’ is closed to new replies.

 * ![](https://ps.w.org/email-encoder-bundle/assets/icon-256x256.png?rev=2056506)
 * [Email Encoder - Protect Email Addresses and Phone Numbers](https://wordpress.org/plugins/email-encoder-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-encoder-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-encoder-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/email-encoder-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-encoder-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-encoder-bundle/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ironikus](https://wordpress.org/support/users/ironikus/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-inside-protected-content/#post-17334381)
 * Status: not resolved