WordPress action hook

gsp_shortcode_deleted

Fired by 9 WordPress plugins, running on 35K+ sites between them.

How to use gsp_shortcode_deleted

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'gsp_shortcode_deleted', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from Logo Slider's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

9 plugins that fire gsp_shortcode_deleted

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Logo Slider icon Logo Slider30,000+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:587
  2. Team Members icon Team Members2,000+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:768
  3. Solid Testimonials icon Solid Testimonials1,000+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder-ajax.php:319
  4. GS Pinterest Portfolio icon GS Pinterest Portfolio1,000+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:359
  5. GS Portfolio icon GS Portfolio300+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:647
  6. Project Showcase icon Project Showcase200+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:649
  7. GS Posts Grid icon GS Posts Grid100+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:747
  8. GS YouTube Gallery icon GS YouTube Gallery100+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:867
  9. GS Coach icon GS Coach10+ installs do_action( 'gsp_shortcode_deleted' ) includes/shortcode-builder/builder.php:584

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.