su/shortcode/spoiler

The shortcodes-ultimate su/shortcode/spoiler hook.

Published Date - February 15, 2021

Description

do_action( 'su/shortcode/spoiler', $atts );

Parameters

  1. $atts


Usage

The following example is for adding a hook callback.

// define the su/shortcode/spoiler callback 
function custom_su_shortcode_spoiler( $atts ){ 
   //custom code here
} 

//add the action 
add_action('su/shortcode/spoiler', 'custom_su_shortcode_spoiler', 10, 1);

Defined

The action is defined in the following location(s).

shortcodes-ultimate/includes/shortcodes/spoiler.php

do_action( 'su/shortcode/spoiler', $atts );