MP_Addon_Netsuite_Settings::set_export_fields()
Set Netsuite export settings.
Return Return
(array) Netsuite export settings.
- ''allow_netsuite''
(array) Allow sending lead data to Netsuite CRM
Source Source
File: calculator-netsuite-add-on/inc/MP_Addon_Netsuite_Settings.php
public function set_export_fields() {
$this->export_settings = array(
array(
'id' => 'allow_netsuite',
'title' => __( 'Allow Netsuite', 'CalculatorsNetsuiteAddon' ),
'callback' => array( $this, 'checkbox' ),
'args' => array(
'option_name' => MortgagePlatform::$prefix . 'export',
'label_for' => 'allow_netsuite',
'placeholder' => '',
'default' => '',
'description' => __( 'Allow Netsuite', 'CalculatorsNetsuiteAddon' ),
),
),
);
return $this->export_settings;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |