src/Modules/Dashboard_widget.php
public function load( $product ) {

		$this->product        = $product;
		$this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', 'WordPress Guides/Tutorials' );
		$this->feeds          = apply_filters(
			'themeisle_sdk_dashboard_widget_feeds',
			[
				'https://themeisle.com/blog/feed',
			]
		);
		add_action( 'wp_dashboard_setup', array( &$this, 'add_widget' ) );
		add_action( 'wp_network_dashboard_setup', array( &$this, 'add_widget' ) );
		add_filter( 'themeisle_sdk_recommend_plugin_or_theme', array( &$this, 'recommend_plugin_or_theme' ) );

		return $this;
	}
public function load( $product ) {

		$this->product        = $product;
		$this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', 'WordPress Guides/Tutorials' );
		$this->feeds          = apply_filters(
			'themeisle_sdk_dashboard_widget_feeds',
			[
				'https://themeisle.com/blog/feed',
			]
		);
		add_action( 'wp_dashboard_setup', array( &$this, 'add_widget' ) );
		add_action( 'wp_network_dashboard_setup', array( &$this, 'add_widget' ) );
		add_filter( 'themeisle_sdk_recommend_plugin_or_theme', array( &$this, 'recommend_plugin_or_theme' ) );

		return $this;
	}
public function load ( $ product ) { $ this -> product = $ product ; $ this -> dashboard_name = apply_filters ( 'themeisle_sdk_dashboard_widget_name' , 'WordPress Guides/Tutorials' ) ; $ this -> feeds = apply_filters ( 'themeisle_sdk_dashboard_widget_feeds' , [ 'https://themeisle.com/blog/feed' , ] ) ; add_action ( 'wp_dashboard_setup' , array ( & $ this , 'add_widget' ) ) ; add_action ( 'wp_network_dashboard_setup' , array ( & $ this , 'add_widget' ) ) ; add_filter ( 'themeisle_sdk_recommend_plugin_or_theme' , array ( & $ this , 'recommend_plugin_or_theme' ) ) ; return $ this ; }
Registers the hooks.

@param Product $product Product to load.

@return Dashboard_Widget Module instance.
Registers the hooks .