su/shortcode/custom_gallery/slides

The shortcodes-ultimate su/shortcode/custom gallery/slides hook.

Published Date - February 15, 2021

Description

$slides = apply_filters( 'su/shortcode/custom_gallery/slides', $slides, $atts );

Parameters

  1. $slides

  2. $atts


Usage

The following example is for adding a hook callback.

// define the su/shortcode/custom_gallery/slides callback 
function custom_su_shortcode_custom_gallery_slides( $slides, $atts ){ 
   //custom code here
    return $slides
} 

//add the action 
add_filter('su/shortcode/custom_gallery/slides', 'custom_su/shortcode/custom_gallery/slides', 10, 2)

Defined

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

shortcodes-ultimate/includes/shortcodes/custom-gallery.php

$slides = apply_filters( 'su/shortcode/custom_gallery/slides', $slides, $atts );