su/get_gallery_slides_query

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

Published Date - February 15, 2021

Description

$query = apply_filters( 'su/get_gallery_slides_query', $query, $source, $atts );

Parameters

  1. $query

  2. $source

  3. $atts


Usage

The following example is for adding a hook callback.

// define the su/get_gallery_slides_query callback 
function custom_su_get_gallery_slides_query( $query, $source, $atts ){ 
   //custom code here
    return $query
} 

//add the action 
add_filter('su/get_gallery_slides_query', 'custom_su/get_gallery_slides_query', 10, 3)

Defined

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

shortcodes-ultimate/includes/functions-galleries.php

$query = apply_filters( 'su/get_gallery_slides_query', $query, $source, $atts );