31 lines
605 B
PHP
31 lines
605 B
PHP
<?php if ( ! defined( 'ABSPATH' ) ) exit;
|
|
|
|
return apply_filters( 'ninja_forms_action_settings', array(
|
|
|
|
/*
|
|
* Label
|
|
*/
|
|
|
|
'label' => array(
|
|
'name' => 'label',
|
|
'type' => 'textbox',
|
|
'group' => 'primary',
|
|
'label' => esc_html__( 'Action Name', 'ninja-forms' ),
|
|
'placeholder' => '',
|
|
'width' => 'full',
|
|
'value' => '',
|
|
|
|
),
|
|
|
|
/*
|
|
* Active
|
|
*/
|
|
|
|
'active' => array(
|
|
'name' => 'active',
|
|
'type' => 'toggle',
|
|
'label' => esc_html__( 'Active', 'ninja-forms' ),
|
|
'value' => 1
|
|
),
|
|
|
|
) );
|