src/Modules/Dashboard_widget.php
public function can_load( $product ) {
		if ( $this->is_from_partner( $product ) ) {
			return false;
		}

		if ( ! apply_filters( $product->get_slug() . '_load_dashboard_widget', true ) ) {
			return false;
		}

		return true;
	}
public function can_load( $product ) {
		if ( $this->is_from_partner( $product ) ) {
			return false;
		}

		if ( ! apply_filters( $product->get_slug() . '_load_dashboard_widget', true ) ) {
			return false;
		}

		return true;
	}
public function can_load ( $ product ) { if ( $ this -> is_from_partner ( $ product ) ) { return false ; } if ( ! apply_filters ( $ product -> get_slug ( ) . '_load_dashboard_widget' , true ) ) { return false ; } return true ; }
Should we load this module.

@param Product $product Product object.

@return bool
Should we load this module .