"; if( isset( $_REQUEST['ays_submit'] ) ){ $this->settings_obj->store_data(); } $ays_tab = isset($_GET['ays_tab']) && esc_attr(stripslashes(sanitize_text_field($_GET['ays_tab']))) !== '' ? esc_attr(stripslashes(sanitize_text_field($_GET['ays_tab']))) : 'tab1'; if ($ays_tab !== 'tab1' && $ays_tab !== 'tab2') { $url = remove_query_arg( array('ays_tab') ); wp_redirect( $url ); } $db_data = $this->settings_obj->get_all_data(); $options = ($this->settings_obj->get_setting('options') === false) ? array() : json_decode($this->settings_obj->get_setting('options'), true); global $wp_roles; $ays_users_roles = $wp_roles->role_names; $user_roles = $this->settings_obj->get_setting('user_roles'); if( $user_roles === null || $user_roles === false ){ $user_roles = array(); }else{ $user_roles = json_decode( $user_roles ); } // User roles to change plugin $user_roles_to_change_plugin = (isset($options['user_roles_to_change']) && !empty( $options['user_roles_to_change'] ) ) ? $options['user_roles_to_change'] : array('administrator'); $chart_title_length = (isset($options['title_length']) && $options['title_length'] != '') ? intval($options['title_length']) : 5; ?>

plugin_name); ?>


plugin_name)?>


plugin_name)?>


plugin_name ); ?>
plugin_name ); ?>

plugin_name)?>

plugin_name)?>



plugin_name), 'primary ays-chart-loader-banner ays-chart-gen-settings-save', 'ays_submit', true, $other_attributes); echo $loader_iamge; ?>