| @@ -84,16 +84,23 @@ | ||
| 84 | 84 | 'buzz-out' => 'Buzz Out', |
| 85 | 85 | ]; |
| 86 | 86 | |
| 87 | 87 | $additional_animations = []; |
| 88 | + | |
| 88 | 89 | /** |
| 89 | - * Element hover animations list. | |
| 90 | + * Hover animations. | |
| 90 | 91 | * |
| 92 | + * Filters the animations list displayed in the hover animations control. | |
| 93 | + * | |
| 94 | + * This hook can be used to register new animations in addition to the | |
| 95 | + * basic Elementor hover animations. | |
| 96 | + * | |
| 91 | 97 | * @since 2.4.0 |
| 92 | 98 | * |
| 93 | - * @param array $additional_animations Additional Animations array. | |
| 99 | + * @param array $additional_animations Additional animations array. | |
| 94 | 100 | */ |
| 95 | 101 | $additional_animations = apply_filters( 'elementor/controls/hover_animations/additional_animations', $additional_animations ); |
| 102 | + | |
| 96 | 103 | self::$_animations = array_merge( self::$_animations, $additional_animations ); |
| 97 | 104 | } |
| 98 | 105 | |
| 99 | 106 | return self::$_animations; |