public function enqueue_scripts( $page = '' ) {

		// Bail if not a network page.
		if ( ! in_array( $page, array( 'toplevel_page_networks', 'networks_page_add-new-network' ), true ) ) {
			return;
		}

		wp_register_style( 'wp-multi-network', wpmn()->plugin_url . 'assets/css/wp-multi-network.css', array(), wpmn()->asset_version, false );
		wp_register_script( 'wp-multi-network', wpmn()->plugin_url . 'assets/js/wp-multi-network.js', array( 'jquery', 'post' ), wpmn()->asset_version, true );

		wp_enqueue_style( 'wp-multi-network' );
		wp_enqueue_script( 'wp-multi-network' );
	}
public function enqueue_scripts( $page = '' ) {

		// Bail if not a network page.
		if ( ! in_array( $page, array( 'toplevel_page_networks', 'networks_page_add-new-network' ), true ) ) {
			return;
		}

		wp_register_style( 'wp-multi-network', wpmn()->plugin_url . 'assets/css/wp-multi-network.css', array(), wpmn()->asset_version, false );
		wp_register_script( 'wp-multi-network', wpmn()->plugin_url . 'assets/js/wp-multi-network.js', array( 'jquery', 'post' ), wpmn()->asset_version, true );

		wp_enqueue_style( 'wp-multi-network' );
		wp_enqueue_script( 'wp-multi-network' );
	}
public function enqueue_scripts ( $ page = '' ) { // Bail if not a network page. if ( ! in_array ( $ page , array ( 'toplevel_page_networks' , 'networks_page_add-new-network' ) , true ) ) { return ; } wp_register_style ( 'wp-multi-network' , wpmn ( ) -> plugin_url . 'assets/css/wp-multi-network.css' , array ( ) , wpmn ( ) -> asset_version , false ) ; wp_register_script ( 'wp-multi-network' , wpmn ( ) -> plugin_url . 'assets/js/wp-multi-network.js' , array ( 'jquery' , 'post' ) , wpmn ( ) -> asset_version , true ) ; wp_enqueue_style ( 'wp-multi-network' ) ; wp_enqueue_script ( 'wp-multi-network' ) ; }
Registers and enqueues JavaScript on networks admin pages.

@since 2.0.0

@param string $page Optional. Current page hook. Default empty string.
Registers and enqueues JavaScript on networks admin pages .