public function add_move_blog_link( $actions = array(), $blog_id = 0 ) {

		// Bail if main site for network.
		if ( (int) get_current_site()->blog_id === (int) $blog_id ) {
			return $actions;
		}

		$url = $this->admin_url( array(
			'action'  => 'move',
			'blog_id' => (int) $blog_id,
		) );

		if ( current_user_can( 'manage_networks' ) ) {
			$actions['move'] = '<a href="' . esc_url( $url ) . '" class="move">' . esc_html__( 'Move', 'wp-multi-network' ) . '</a>';
		}

		return $actions;
	}
public function add_move_blog_link( $actions = array(), $blog_id = 0 ) {

		// Bail if main site for network.
		if ( (int) get_current_site()->blog_id === (int) $blog_id ) {
			return $actions;
		}

		$url = $this->admin_url( array(
			'action'  => 'move',
			'blog_id' => (int) $blog_id,
		) );

		if ( current_user_can( 'manage_networks' ) ) {
			$actions['move'] = '<a href="' . esc_url( $url ) . '" class="move">' . esc_html__( 'Move', 'wp-multi-network' ) . '</a>';
		}

		return $actions;
	}
public function add_move_blog_link ( $ actions = array ( ) , $ blog_id = 0 ) { // Bail if main site for network. if ( ( int ) get_current_site ( ) -> blog_id === ( int ) $ blog_id ) { return $ actions ; } $ url = $ this -> admin_url ( array ( 'action' => 'move' , 'blog_id' => ( int ) $ blog_id , ) ) ; if ( current_user_can ( 'manage_networks' ) ) { $ actions [ 'move' ] = '<a href="' . esc_url ( $ url ) . '" class="move">' . esc_html__ ( 'Move' , 'wp-multi-network' ) . '</a>' ; } return $ actions ; }
Add the Move action to the Sites page on WP >= 3.1.

@since 1.3.0

@param array $actions Array of action links.
@param int   $blog_id Current site ID.
@return array Adjusted action links.
Add the Move action to the Sites page on WP > = 3 . 1 .