<?php
return apply_filters( 'wws_widget_text_settings', array(
    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',
        'type'      => 'text',
        'class'     => 'regular-text',
    ),
    array(
        'title'     => __( 'About Support.', 'wc-wws' ),
        'desc_tip'  => __( 'About Support.', 'wc-wws' ),
        'id'        => 'wws_about_support_text',
        'type'      => 'textarea',
        'class'     => 'regular-text',
        'css'	=> 'height:120px',
    ),
    array(
        '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',
        'type'      => 'text',
        'class'     => 'regular-text',
    ),
    array(
        'title'     => __( 'Input Placeholder Text', 'wc-wws' ),
        'desc_tip'  => __( 'Input placeholder.', 'wc-wws' ),
        'id'        => 'wws_input_placeholder_text',
        'type'      => 'text',
        'class'     => 'regular-text',
    ),
    array(
        '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',
        'type'      => 'text',
        'class'     => 'regular-text',
    ),
    array(
        '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',
        'type'      => 'textarea',
        'class'     => 'regular-text',
        'css'	    => 'height:120px',
    ),
) );