Shortcode Settings Fields


This hook registers all of the available settings. It should be used if you want to register and/or edit your own settings.

Parameter Type Description
$fields array The array of all available fields
$single_shortcode_tag string|empty The tag of the current shortcode.
$args array Custom parsed args. (Mostly used by custom extensions)
         * Customize the globally uses capability for this plugin
         * This filter is called every time a capability is needed.
         * $single_shortcode_tag just gets called from our main field settigns function. If the tag is global,
         * then a custom plugin hooks into it to make changes
        return apply_filters('wpscont/shortcode/settings/fields', $fields, $single_shortcode_tag, $args);


Was this article helpful?

Related Articles