Filters available for Content Toggle are listed below.
HELPS MODIFY “on” LABEL IN label box switch.
add_filter( 'uael_toggle_on_label', function( $on_label, $settings ) {
// Modify the string here
return $on_label;
}, 10, 2 );
Note: $on_label – The ON label string in Label Box switch style.
HELPS MODIFY “OFF” LABEL IN LABEL BOX SWITCH.
add_filter( 'uael_toggle_off_label', function( $off_label, $settings ) {
// Modify the string here
return $off_label;
}, 10, 2 );
Note: $off_label – The OFF label string in Label Box switch style.