NF_PUM_Actions_ClosePopup::__construct()

Constructor


Description Description


Source Source

File: includes/integrations/ninja-forms/Actions/ClosePopup.php

	public function __construct() {
		parent::__construct();

		$this->_nicename = __( 'Close Popup', 'popup-maker' );

		$settings = array(
			'close_delay' => array(
				'name'        => 'close_delay',
				'type'        => 'number',
				'group'       => 'primary',
				'label'       => __( 'Delay', 'popup-maker' ) . ' (' . __( 'seconds', 'popup-maker' ) . ')',
				'placeholder' => '',
				'width'       => 'full',
				'value'       => __( '0', 'popup-maker' ),
			),
		);

		$this->_settings = array_merge( $this->_settings, $settings );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.