src/Modules/Licenser.php
public function get_license_status() {

		$license_data = get_option( $this->product->get_key() . '_license_data', '' );

		if ( '' === $license_data ) {
			return get_option( $this->product->get_key() . '_license_status', 'not_active' );
		}

		return isset( $license_data->license ) ? $license_data->license : get_option( $this->product->get_key() . '_license_status', 'not_active' );

	}
public function get_license_status() {

		$license_data = get_option( $this->product->get_key() . '_license_data', '' );

		if ( '' === $license_data ) {
			return get_option( $this->product->get_key() . '_license_status', 'not_active' );
		}

		return isset( $license_data->license ) ? $license_data->license : get_option( $this->product->get_key() . '_license_status', 'not_active' );

	}
public function get_license_status ( ) { $ license_data = get_option ( $ this -> product -> get_key ( ) . '_license_data' , '' ) ; if ( '' === $ license_data ) { return get_option ( $ this -> product -> get_key ( ) . '_license_status' , 'not_active' ) ; } return isset ( $ license_data -> license ) ? $ license_data -> license : get_option ( $ this -> product -> get_key ( ) . '_license_status' , 'not_active' ) ; }
Return the license status.

@return string The License status.
Return the license status .