su/get_gallery_slides/slides

The shortcodes-ultimate su/get gallery slides/slides hook.

Published Date - February 15, 2021

Description

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

Parameters

  1. $slides

  2. $atts


Usage

The following example is for adding a hook callback.

// define the su/get_gallery_slides/slides callback 
function custom_su_get_gallery_slides_slides( $slides, $atts ){ 
   //custom code here
    return $slides
} 

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

Defined

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

shortcodes-ultimate/includes/functions-galleries.php

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