WPSC Do Shortcode Tag

wpscont/shortcodes/features/do_shortcode_tag

Description:
This is one of our two main filter for manipulating the shortcodes output. You can add your own custom logic to it to filter the shortcodes content based on your needs.

Parameter Type Description
$output string|bool The original value parsed by the do_shortcode_tag_hook
$this->validate_setting_fields($shortcode_data[$tag][‘settings’]) array An array of all the available settings.
$tag string The shortcode tag itself
$attr array The default shortcode attributes
$m string The default preg filter
        /**
         * One of the two main filters that allows you to manipulate the content based on your needs.
         */
        $output = apply_filters('wpscont/shortcodes/features/do_shortcode_tag', $output, $this->validate_setting_fields($shortcode_data[$tag]['settings']), $tag, $attr, $m);

Source:
wp-content/plugins/wp-shortcode-control/core/includes/classes/run.php

Was this article helpful?

Related Articles