plugin_name . '_admin_options' ); do_settings_sections( $this->plugin_name . '_admin_options' ); $options = get_option( $this->plugin_name . '_admin_options' ); global $mlsimport; $settings_list = array( 'mlsimport_username' => array( 'name' => esc_html__( 'MLSImport Username', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_password' => array( 'name' => esc_html__( 'MLSImport Password', 'mlsimport'), 'details' => 'to be added', ), 'mlsimport_mls_name' => array( 'type' => 'select', 'name' => esc_html__( 'Your MLS', 'mlsimport'), 'details' => 'to be added', ), 'mlsimport_mls_token' => array( 'name' => esc_html__( 'Your API Server token - provided by your MLS','mlsimport'), 'details' => 'to be added', ), 'mlsimport_tresle_client_id' => array( 'name' => esc_html__( 'Your Trestle Client ID - provided by your MLS', 'mlsimport'), 'details' => 'to be added', ), 'mlsimport_tresle_client_secret' => array( 'name' => esc_html__( 'Your Trestle Client Secret - provided by your MLS', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_rapattoni_client_id' => array( 'name' => esc_html__( 'MLSImport Rapattoni Client id', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_rapattoni_client_secret' => array( 'name' => esc_html__( 'MLSImport Rapattoni Client Secret', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_rapattoni_username' => array( 'name' => esc_html__( 'MLSImport Rapattoni Username', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_rapattoni_password' => array( 'name' => esc_html__( 'MLSImport Rapattoni Client Password','mlsimport' ), 'details' => 'to be added', ), 'mlsimport_paragon_client_id' => array( 'name' => esc_html__( 'MLSImport Paragon Client id', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_paragon_client_secret' => array( 'name' => esc_html__( 'MLSImport Paragon Client Secret', 'mlsimport' ), 'details' => 'to be added', ), 'mlsimport_theme_used' => array( 'type' => 'select', 'name' => esc_html__( 'Your Wordpress Theme', 'mlsimport'), 'details' => 'to be added', ), ); ?> admin->mlsimport_saas_get_mls_api_token_from_transient(); $is_mls_connected = get_option( 'mlsimport_connection_test', '' ); $mlsimport->admin->mlsimport_saas_setting_up(); if ( 'yes' !== $is_mls_connected ) { $mlsimport->admin->mlsimport_saas_check_mls_connection(); $is_mls_connected = get_option( 'mlsimport_connection_test', '' ); } if ( trim( $token ) === '' ) { mlsimport_show_signup(); ?>
$setting ) { $value = ( isset( $options[ $key ] ) && ! empty( $options[ $key ] ) ) ? esc_attr( $options[ $key ] ) : ''; ?>
If your MLS is not on this list yet please contact us in order to check it and enable it.
type="password" type="text" class="mlsimport-input xxx" autocomplete="off" id="plugin_name . '_admin_options' ); ?>-" name="plugin_name . '_admin_options' ); ?>[]" value=""/>
'mlsimport_but' ); submit_button( __( 'Save Changes', 'mlsimport' ), 'mlsimport_button', 'submit', true, $attributes ); ?>
'; if ( is_array( $data_array ) ) : foreach ( $data_array as $key => $mls_item ) { $select .= '