Google_Sheet_Settings::set_properties()

Sets up the properties of the settings page


Source

File: src/integrations/google-sheet/settings/settings-google-sheet.php

	protected function set_properties() {

		$this->set_id( 'google-sheet' );

		$this->set_icon( 'google-sheets' );

		$this->set_name( 'Google Sheets' );

		$this->client = false;

		try {
			$this->client = $this->helper->get_google_client();
		} catch ( \Exception $e ) {
			// Do nothing
		}

		$this->set_status( false === $this->client ? '' : 'success' );

	}