src/Modules/Logger.php
private function is_logger_active() {
		if ( ! $this->product->is_wordpress_available() ) {
			return true;
		}
		$pro_slug = $this->product->get_pro_slug();

		if ( ! empty( $pro_slug ) ) {
			$all_products = Loader::get_products();
			if ( isset( $all_products[ $pro_slug ] ) ) {
				return true;
			}
		}

		return ( get_option( $this->product->get_key() . '_logger_flag', 'no' ) === 'yes' );
	}
private function is_logger_active() {
		if ( ! $this->product->is_wordpress_available() ) {
			return true;
		}
		$pro_slug = $this->product->get_pro_slug();

		if ( ! empty( $pro_slug ) ) {
			$all_products = Loader::get_products();
			if ( isset( $all_products[ $pro_slug ] ) ) {
				return true;
			}
		}

		return ( get_option( $this->product->get_key() . '_logger_flag', 'no' ) === 'yes' );
	}
private function is_logger_active ( ) { if ( ! $ this -> product -> is_wordpress_available ( ) ) { return true ; } $ pro_slug = $ this -> product -> get_pro_slug ( ) ; if ( ! empty ( $ pro_slug ) ) { $ all_products = Loader :: get_products ( ) ; if ( isset ( $ all_products [ $ pro_slug ] ) ) { return true ; } } return ( get_option ( $ this -> product -> get_key ( ) . '_logger_flag' , 'no' ) === 'yes' ) ; }
Check if the logger is active.

@return bool Is logger active?
Check if the logger is active .