|

Filters/Actions for Hotspot Widget

Filters available for Hotspot Widget are listed below.

Helps Modify “Next” text in hotspot tour.

add_filter( 'uael_hotspot_next_label', function( $next_label, $settings ) {
// Modify the string here
return $next_label;
}, 10, 2 );

Note: $next_label –  The next string in hotspot tour navigation.

HELPS MODIFY “PREVIOUS” text IN HOTSPOT TOUR.

add_filter( 'uael_hotspot_previous_label', function( $previous_label, $settings ) {
// Modify the string here
return $previous_label;
}, 10, 2 );

Note: $previous_label –  The previous string in hotspot tour navigation.

HELPS MODIFY “End tour” text IN HOTSPOT TOUR.

add_filter( 'uael_hotspot_endtour_label', function( $endtour_label, $settings ) {
// Modify the string here
return $endtour_label;
}, 10, 2 );

Note: $endtour_label–  The End Tour string in hotspot tour navigation.


HELPS to set the maximum width of the tooltip.

add_filter( 'uael_tooltip_maxwidth', function( $maxwidth, $settings ) { 
// Modify the maximum width here
return $maxwidth;
},10,2);

Note: $maxwidth–  Maximum width of the Tooltip.

HELPS TO SET THE Minimum WIDTH OF the TOOLTIP.

add_filter( 'uael_tooltip_minwidth', function( $minwidth , $settings ) { 
// Modify the minimum width here
return $minwidth;
},10,2);

Note: $minwidth–  Minimum width of the Tooltip.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page
Scroll to Top