su/data/animations

The shortcodes-ultimate su/data/animations hook.

Published Date - February 15, 2021

Description

return apply_filters(
	'su/data/animations',
	array(
		'flash',
		'bounce',
		'shake',
		'tada',
		'swing',
		'wobble',
		'pulse',
		'flip',
		'flipInX',
		'flipOutX',
		'flipInY',
		'flipOutY',
		'fadeIn',
		'fadeInUp',
		'fadeInDown',
		'fadeInLeft',
		'fadeInRight',
		'fadeInUpBig',
		'fadeInDownBig',
		'fadeInLeftBig',
		'fadeInRightBig',
		'fadeOut',
		'fadeOutUp',
		'fadeOutDown',
		'fadeOutLeft',
		'fadeOutRight',
		'fadeOutUpBig',
		'fadeOutDownBig',
		'fadeOutLeftBig',
		'fadeOutRightBig',
		'slideInDown',
		'slideInLeft',
		'slideInRight',
		'slideOutUp',
		'slideOutLeft',
		'slideOutRight',
		'bounceIn',
		'bounceInDown',
		'bounceInUp',
		'bounceInLeft',
		'bounceInRight',
		'bounceOut',
		'bounceOutDown',
		'bounceOutUp',
		'bounceOutLeft',
		'bounceOutRight',
		'rotateIn',
		'rotateInDownLeft',
		'rotateInDownRight',
		'rotateInUpLeft',
		'rotateInUpRight',
		'rotateOut',
		'rotateOutDownLeft',
		'rotateOutDownRight',
		'rotateOutUpLeft',
		'rotateOutUpRight',
		'lightSpeedIn',
		'lightSpeedOut',
		'hinge',
		'rollIn',
		'rollOut',
	)
);

Parameters

  1. $array


Usage

The following example is for adding a hook callback.

// define the su/data/animations callback 
function custom_su_data_animations( $array ){ 
   //custom code here
    return $array
} 

//add the action 
add_filter('su/data/animations', 'custom_su/data/animations', 10, 1)

Defined

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

shortcodes-ultimate/includes/config/animations.php

return apply_filters(
	'su/data/animations',
	array(
		'flash',
		'bounce',
		'shake',
		'tada',
		'swing',
		'wobble',
		'pulse',
		'flip',
		'flipInX',
		'flipOutX',
		'flipInY',
		'flipOutY',
		'fadeIn',
		'fadeInUp',
		'fadeInDown',
		'fadeInLeft',
		'fadeInRight',
		'fadeInUpBig',
		'fadeInDownBig',
		'fadeInLeftBig',
		'fadeInRightBig',
		'fadeOut',
		'fadeOutUp',
		'fadeOutDown',
		'fadeOutLeft',
		'fadeOutRight',
		'fadeOutUpBig',
		'fadeOutDownBig',
		'fadeOutLeftBig',
		'fadeOutRightBig',
		'slideInDown',
		'slideInLeft',
		'slideInRight',
		'slideOutUp',
		'slideOutLeft',
		'slideOutRight',
		'bounceIn',
		'bounceInDown',
		'bounceInUp',
		'bounceInLeft',
		'bounceInRight',
		'bounceOut',
		'bounceOutDown',
		'bounceOutUp',
		'bounceOutLeft',
		'bounceOutRight',
		'rotateIn',
		'rotateInDownLeft',
		'rotateInDownRight',
		'rotateInUpLeft',
		'rotateInUpRight',
		'rotateOut',
		'rotateOutDownLeft',
		'rotateOutDownRight',
		'rotateOutUpLeft',
		'rotateOutUpRight',
		'lightSpeedIn',
		'lightSpeedOut',
		'hinge',
		'rollIn',
		'rollOut',
	)
);