Title: Extend shortcodes.php
Last modified: September 20, 2016

---

# Extend shortcodes.php

 *  [laetitia Godet](https://wordpress.org/support/users/laetitia-godet/)
 * (@laetitia-godet)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/extend-shortcodes-php/)
 * Can extend your class “Su_Shortcodes” because the content of the shortcode “Spoiler”
   does not include the html tags, I added “`su_do_shortcode (html_entity_decode(
   $ content), 's')`” but I would put it in the fonction.php.
 * As I do? Because I do not want to put it in hard into the module.
 * Thank you

The topic ‘Extend shortcodes.php’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 0 replies
 * 1 participant
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/extend-shortcodes-php/)
 * Status: not resolved