NF_PUM_Actions_OpenPopup::__construct()
Constructor
Description Description
Source Source
File: includes/integrations/ninja-forms/Actions/OpenPopup.php
public function __construct() { parent::__construct(); $this->_nicename = __( 'Open Popup', 'popup-maker' ); $settings = array( 'popup' => array( 'name' => 'popup', 'type' => 'select', 'group' => 'primary', 'label' => __( 'Popup ID', 'popup-maker' ), 'placeholder' => '', 'width' => 'full', 'options' => isset( $_GET['page'] ) && 'ninja-forms' === $_GET['page'] && ! empty( $_GET['form_id'] ) ? $this->get_popup_list() : array(), ), ); $this->_settings = array_merge( $this->_settings, $settings ); }
Expand full source code Collapse full source code View on Trac