su/shortcode/image_carousel/flickity

The shortcodes-ultimate su/shortcode/image carousel/flickity hook.

Published Date - February 15, 2021

Description

$flickity = apply_filters(
		'su/shortcode/image_carousel/flickity',
		$flickity,
		$atts
	);

Parameters

  1. $flickity

  2. $atts


Usage

The following example is for adding a hook callback.

// define the su/shortcode/image_carousel/flickity callback 
function custom_su_shortcode_image_carousel_flickity( $flickity, $atts ){ 
   //custom code here
    return $flickity
} 

//add the action 
add_filter('su/shortcode/image_carousel/flickity', 'custom_su/shortcode/image_carousel/flickity', 10, 2)

Defined

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

shortcodes-ultimate/includes/shortcodes/image-carousel.php

$flickity = apply_filters(
		'su/shortcode/image_carousel/flickity',
		$flickity,
		$atts
	);