Support » Plugin: Raw HTML » Adding standarized add_shortcode usage

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    The plugin wouldn’t work if it used standard shortcodes.

    The purpose of this plugin is to prevent WordPress and other plugins from changing (filtering) selected parts of a post or page. It’s impossible to do that with a standard shortcode. Shortcode processing is part of the standard filter chain, and the only reason why you’d use this plugin is to avoid the standard filters.

    At the very least, you need a way to get the unfiltered content and a way to re-insert it into the post after all filters have been applied. The plugin achieves this by using two filters with different priorities – one very high so that it runs before other filters, one very low so that it runs last. Shortcodes are right in the middle.

    Interesting. Is adding manual support to widgets an alternative?

    Plugin Author Janis Elsts

    (@whiteshadow)

    Sure, that is a possibility.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding standarized add_shortcode usage’ is closed to new replies.