private function get_config( $page ) {
		// Defaults.
		$config = array(
			'instructions' => $this->get_instructions(),
			'icon'         => 'question',
			'color'        => '#A4286A',
			'poweredBy'    => false,
			'translation'  => $this->get_translations(),
			'showSubject'  => true,
			'zIndex'       => 1000001,
		);

		foreach ( $this->settings as $setting ) {
			if ( method_exists( $setting, 'get_config' ) ) {
				$config = array_merge( $config, $setting->get_config( $page ) );
			}
		}

		return $config;
	}
private function get_config( $page ) {
		// Defaults.
		$config = array(
			'instructions' => $this->get_instructions(),
			'icon'         => 'question',
			'color'        => '#A4286A',
			'poweredBy'    => false,
			'translation'  => $this->get_translations(),
			'showSubject'  => true,
			'zIndex'       => 1000001,
		);

		foreach ( $this->settings as $setting ) {
			if ( method_exists( $setting, 'get_config' ) ) {
				$config = array_merge( $config, $setting->get_config( $page ) );
			}
		}

		return $config;
	}
private function get_config ( $ page ) { // Defaults. $ config = array ( 'instructions' => $ this -> get_instructions ( ) , 'icon' => 'question' , 'color' => '#A4286A' , 'poweredBy' => false , 'translation' => $ this -> get_translations ( ) , 'showSubject' => true , 'zIndex' => 1000001 , ) ; foreach ( $ this -> settings as $ setting ) { if ( method_exists ( $ setting , 'get_config' ) ) { $ config = array_merge ( $ config , $ setting -> get_config ( $ page ) ) ; } } return $ config ; }
Returns the configuration for a certain page

@param string $page The admin page the user is on.

@return array
Returns the configuration for a certain page