: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
return apply_filters( 'wws_widget_text_settings', array(
'title' => __( 'Trigger Button Text', 'wc-wws' ),
'desc_tip' => __( 'If you leave it blank than, trigger button shown as only icon.', 'wc-wws' ),
'id' => 'wws_trigger_button_text',
'class' => 'regular-text',
'title' => __( 'About Support.', 'wc-wws' ),
'desc_tip' => __( 'About Support.', 'wc-wws' ),
'id' => 'wws_about_support_text',
'class' => 'regular-text',
'title' => __( 'Welcome Messages', 'wc-wws' ),
'desc_tip' => __( 'Welcome message from Support. Sometime this can be use as pre message.', 'wc-wws' ),
'id' => 'wws_welcome_message',
'class' => 'regular-text',
'title' => __( 'Input Placeholder Text', 'wc-wws' ),
'desc_tip' => __( 'Input placeholder.', 'wc-wws' ),
'id' => 'wws_input_placeholder_text',
'class' => 'regular-text',
'title' => __( 'Number Placeholder Text', 'wc-wws' ),
'desc_tip' => __( 'Enter the placeholder text for asking WhatsApp number from visitors.', 'wc-wws' ),
'id' => 'wws_number_placeholder_text',
'class' => 'regular-text',
'title' => __( 'Number Masking', 'wc-wws' ),
'<a href="#" data-wws-mask="(999) 999-9999">U.S.A. Format</a> ·
<a href="#" data-wws-mask="99999-99999">India Format</a> ·
<a href="#" data-wws-mask="">No Number Mask</a>'
__( '9 - Represents a numeric character (0-9)', 'wc-wws' ),
'------------------------------------------------------------',
sprintf( __( 'Facing issue with number masking? feel free to <a href="%s" target="_blank">contact us</a>', 'wc-wws' ), 'https://codecanyon.net/item/wordpress-whatsapp-support/20963962/support' ),
'desc_tip' => __( 'You can enter the phone number masking as per your need.', 'wc-wws' ),
'id' => 'wws_number_masking',
'class' => 'regular-text',
'title' => __( 'Predefined Text', 'wc-wws' ),
'desc' => wp_kses_post( sprintf( __( '%s to display current page title in chat.<br>%s to display current page URL in chat.<br>%s to break the line into a new line.', 'wc-wws' ), '<code>{title}</code>', '<code>{url}</code>', '<code>{br}</code>' ) ),
'desc_tip' => __( 'This will automatically append the following options along with user text.', 'wc-wws' ),
'id' => 'wws_predefined_text',
'class' => 'regular-text',