Filters/Actions for Hotspot Widget

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.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註