: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'name' => 'confirm_field',
'type' => 'field-select',
'label' => esc_html__( 'Confirm', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
'name' => 'textarea_rte',
'label' => esc_html__( 'Show Rich Text Editor', 'ninja-forms' ),
'help' => esc_html__( 'Allows rich text input.', 'ninja-forms' ),
'textarea_media' => array(
'name' => 'textarea_media',
'label' => esc_html__( 'Show Media Upload Button', 'ninja-forms' ),
'disable_rte_mobile' => array(
'name' => 'disable_rte_mobile',
'label' => esc_html__( 'Disable Rich Text Editor on Mobile', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
'processing_label' => array(
'name' => 'processing_label',
'label' => esc_html__( 'Processing Label', 'ninja-forms' ),
'value' => esc_html__( 'Processing', 'ninja-forms' )
|--------------------------------------------------------------------------
| Calc Value that is used for checkbox fields
|--------------------------------------------------------------------------
'checked_calc_value' => array(
'name' => 'checked_calc_value',
'label' => esc_html__( 'Checked Calculation Value', 'ninja-forms' ),
'help' => esc_html__( 'This number will be used in calculations if the box is checked.', 'ninja-forms' ),
'unchecked_calc_value' => array(
'name' => 'unchecked_calc_value',
'label' => esc_html__( 'Unchecked Calculation Value', 'ninja-forms' ),
'help' => esc_html__( 'This number will be used in calculations if the box is unchecked.', 'ninja-forms' ),
|--------------------------------------------------------------------------
| DISPLAY CALCULATION SETTINGS
|--------------------------------------------------------------------------
'label' => esc_html__( 'Display This Calculation Variable', 'ninja-forms' ),
'select_product' => array(
'label' => esc_html__( '- Select a Variable', 'ninja-forms' ),
|--------------------------------------------------------------------------
| Pricing Fields Settings
|--------------------------------------------------------------------------
'product_price' => array(
'name' => 'product_price',
'label' => esc_html__( 'Price', 'ninja-forms' ),
'type' => 'currency', // 'numeric', 'currency', 'custom'
'product_use_quantity' => array(
'name' => 'product_use_quantity',
'label' => esc_html__( 'Use Inline Quantity', 'ninja-forms' ),
'help' => esc_html__( 'Allows users to choose more than one of this product.', 'ninja-forms' ),
'name' => 'product_type',
'label' => esc_html__( 'Product Type', 'ninja-forms' ),
'label' => esc_html__( 'Single Product (default)', 'ninja-forms' ),
'label' => esc_html__( 'Multi Product - Dropdown', 'ninja-forms' ),
'label' => esc_html__( 'Multi Product - Choose Many', 'ninja-forms' ),
'label' => esc_html__( 'Multi Product - Choose One', 'ninja-forms' ),
'label' => esc_html__( 'User Entry', 'ninja-forms' ),
'label' => esc_html__( 'Hidden', 'ninja-forms' ),
'use_merge_tags' => FALSE
'shipping_cost' => array(
'name' => 'shipping_cost',
'label' => esc_html__( 'Cost', 'ninja-forms' ),
'type' => 'currency', // 'numeric', 'currency', 'custom'
'shipping_type' => 'single',
'shipping_options' => array(
'name' => 'shipping_options',
'type' => 'option-repeater',
'label' => esc_html__( 'Cost Options', 'ninja-forms' ) . ' <a href="#" class="nf-add-new">' . esc_html__( 'Add New', 'ninja-forms' ) . '</a>',
array( 'label' => esc_textarea( __( 'One', 'ninja-forms' ) ), 'value' => '1.00', 'order' => 0 ),
array( 'label' => esc_textarea( __( 'Two', 'ninja-forms' ) ), 'value' => '2.00', 'order' => 1 ),
array( 'label' => esc_textarea( __( 'Three', 'ninja-forms' ) ), 'value' => '3.00', 'order' => 2 ),
'header' => esc_html__( 'Label', 'ninja-forms' ),
'header' => esc_html__( 'Value', 'ninja-forms' ),
'shipping_type' => 'select'
'shipping_type' => array(
'name' => 'shipping_type',
'label' => esc_html__( 'Single Cost', 'ninja-forms' ),
'label' => esc_html__( 'Cost Dropdown', 'ninja-forms' ),
'label' => esc_html__( 'Cost Type', 'ninja-forms' ),
'group' => '', //'primary',
'product_assignment' => array(
'name' => 'product_assignment',
'label' => esc_html__( 'Product', 'ninja-forms' ),
'select_product' => array(
'label' => esc_html__( '- Select a Product', 'ninja-forms' ),
|--------------------------------------------------------------------------
| Anti-Spam Field Settings
|--------------------------------------------------------------------------
'label' => esc_html__( 'Answer', 'ninja-forms'),
'help' => esc_html__( 'A case sensitive answer to help prevent spam submissions of your form.', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
'label' => esc_html__( 'Taxonomy', 'ninja-forms'),
'add_new_terms' => array(
'name' => 'add_new_terms',
'label' => esc_html__( 'Add New Terms', 'ninja-forms'),
|--------------------------------------------------------------------------
| Backwards Compatibility Field Settings
|--------------------------------------------------------------------------
'label' => esc_html__( 'This is a user\'s state.', 'ninja-forms' ),
'group' => 'administration',
'help' => esc_html__( 'Used for marking a field for processing.', 'ninja-forms' ),
// Add all core settings. Fields can unset if unneeded.
// $this->_settings = $this->load_settings(
// array( 'label', 'label_pos', 'required', 'number', 'spam_question', 'mask', 'input_limit_set','rich_text_editor', 'placeholder', 'textare_placeholder', 'default', 'checkbox_default_value', 'classes', 'timed_submit' )