: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<?php if ( ! defined( 'ABSPATH' ) ) exit;
return apply_filters( 'ninja_forms_action_collect_payment_settings', array(
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
'payment_gateways' => array(
'name' => 'payment_gateways',
'label' => esc_html__( 'Payment Gateways', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
//building the payment type selector box
'payment_total_type' => array(
'name' => 'payment_total_type',
'label' => esc_html__( 'Get Total From', 'ninja-forms' ),
array( 'label' => esc_html__( '- Select One', 'ninja-forms' ), 'value' => '' ),
array( 'label' => esc_html__( 'Calculation', 'ninja-forms' ), 'value' => 'calc' ),
array( 'label' => esc_html__( 'Field', 'ninja-forms' ), 'value' => 'field' ),
array( 'label' => esc_html__( 'Fixed Amount', 'ninja-forms' ), 'value' => 'fixed' ),
//building the calc selector.
'payment_total_calc' => array(
'name' => 'payment_total',
'label' => esc_html__( 'Select Calculation', 'ninja-forms' ),
'payment_total_type' => 'calc',
'default_options' => array(
'label' => esc_html__( '- Select One', 'ninja-forms' ),
'use_merge_tags' => TRUE,
//building the field selector.
'payment_total_field' => array(
'name' => 'payment_total',
'label' => esc_html__( 'Select Field', 'ninja-forms' ),
'payment_total_type' => 'field',
'default_options' => array(
'label' => esc_html__( '- Select One', 'ninja-forms' ),
'use_merge_tags' => TRUE,
//building the field selector.
'payment_total_fixed' => array(
'name' => 'payment_total',
'label' => esc_html__( 'Enter Amount', 'ninja-forms' ),
'payment_total_type' => 'fixed',