WordPress filter hook
cs_shortcode_exclude
Fired by 16 WordPress plugins, running on 1,130+ sites between them.
How to use cs_shortcode_exclude
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'cs_shortcode_exclude', function( $exclude_post_types ) {
// Change $exclude_post_types here.
return $exclude_post_types;
}, 10, 1 );Argument names come from Aitasi Coming Soon's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
16 plugins that fire cs_shortcode_exclude
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Aitasi Coming Soon900+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )admin/codestar-framework/classes/shortcode.class.php:52 -
Business Template Blocks for WPBakery (Visual Composer) Page Builder60+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )inc/framework/classes/shortcode.class.php:52 -
Easy Woocommerce Customizer50+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )options/classes/shortcode.class.php:52 -
Post Slider20+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )cs-framework/classes/shortcode.class.php:52 -
Nasim Persian Maker20+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )classes/shortcode.class.php:52 -
My Right Horse10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )classes/shortcode.class.php:52 -
Back Top10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )setting-page/classes/shortcode.class.php:52 -
CC Manga Comic Reader10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )lib/codestar-framework/classes/shortcode.class.php:52 -
Essential Hover Effects10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )admin/framework/classes/shortcode.class.php:52 -
Awesome WordPress Slider10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )inc/cs-framework/classes/shortcode.class.php:52 -
Amazing Portfolio10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )inc/framework/classes/shortcode.class.php:52 -
Ultimate Carousel10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )inc/framework/classes/shortcode.class.php:52 -
WP TAB10+ installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )assets/admin/classes/shortcode.class.php:52 -
All in All Image Hover EffectFewer than 10 installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )cu-framework/classes/shortcode.class.php:52 -
Electro Pricing Tables LiteFewer than 10 installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )lib/codestar-framework-1.0.1/classes/shortcode.class.php:52 -
RS Coming SoonFewer than 10 installs
apply_filters( 'cs_shortcode_exclude', $this->exclude_post_types )admin/classes/shortcode.class.php:52
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.