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:
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.
-
Logo Slider30,000+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:587 -
Team Members2,000+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:768 -
Solid Testimonials1,000+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder-ajax.php:319 -
GS Pinterest Portfolio1,000+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:359 -
GS Portfolio300+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:647 -
Project Showcase200+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:649 -
GS Posts Grid100+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:747 -
GS YouTube Gallery100+ installs
do_action( 'gsp_shortcode_deleted' )includes/shortcode-builder/builder.php:867 -
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.