ZOOM_WEBINAR_REGISTERUSERLESS::load_options()
load_options
Return Return
(void)
Source Source
File: src/integrations/zoom-webinar/actions/zoom-webinar-registeruserless.php
public function load_options() { $email_field_options = array( 'option_code' => 'EMAIL', 'input_type' => 'text', 'label' => esc_attr__( 'Email address', 'uncanny-automator' ), 'placeholder' => '', 'description' => '', 'required' => true, 'tokens' => true, 'default' => '', ); $email_field = Automator()->helpers->recipe->field->text( $email_field_options ); $first_name_field_options = array( 'option_code' => 'FIRSTNAME', 'input_type' => 'text', 'label' => esc_attr__( 'First name', 'uncanny-automator' ), 'placeholder' => '', 'description' => '', 'required' => false, 'tokens' => true, 'default' => '', ); $first_name_field = Automator()->helpers->recipe->field->text( $first_name_field_options ); $last_name_field_options = array( 'option_code' => 'LASTNAME', 'input_type' => 'text', 'label' => esc_attr__( 'Last name', 'uncanny-automator' ), 'placeholder' => '', 'description' => '', 'required' => false, 'tokens' => true, 'default' => '', ); $last_name_field = Automator()->helpers->recipe->field->text( $last_name_field_options ); return array( 'options_group' => array( $this->action_meta => array( $email_field, $first_name_field, $last_name_field, Automator()->helpers->recipe->zoom_webinar->get_webinars( null, $this->action_meta ), Automator()->helpers->recipe->zoom_webinar->get_webinar_questions_repeater(), ), ), ); }
Expand full source code Collapse full source code View on Github