src/Modules/Rollback.php
public function add_rollback_link( $links ) {
		$version = $this->get_rollback();
		if ( empty( $version ) ) {
			return $links;
		}
		$links[] = '<a href="' . wp_nonce_url( admin_url( 'admin-post.php?action=' . $this->product->get_key() . '_rollback' ), $this->product->get_key() . '_rollback' ) . '">' . sprintf( apply_filters( $this->product->get_key() . '_rollback_label', 'Rollback to v%s' ), $version['version'] ) . '</a>';

		return $links;
	}
public function add_rollback_link( $links ) {
		$version = $this->get_rollback();
		if ( empty( $version ) ) {
			return $links;
		}
		$links[] = '<a href="' . wp_nonce_url( admin_url( 'admin-post.php?action=' . $this->product->get_key() . '_rollback' ), $this->product->get_key() . '_rollback' ) . '">' . sprintf( apply_filters( $this->product->get_key() . '_rollback_label', 'Rollback to v%s' ), $version['version'] ) . '</a>';

		return $links;
	}
public function add_rollback_link ( $ links ) { $ version = $ this -> get_rollback ( ) ; if ( empty ( $ version ) ) { return $ links ; } $ links [ ] = '<a href="' . wp_nonce_url ( admin_url ( 'admin-post.php?action=' . $ this -> product -> get_key ( ) . '_rollback' ) , $ this -> product -> get_key ( ) . '_rollback' ) . '">' . sprintf ( apply_filters ( $ this -> product -> get_key ( ) . '_rollback_label' , 'Rollback to v%s' ) , $ version [ 'version' ] ) . '</a>' ; return $ links ; }
Show the rollback links in the plugin page.

@param array $links Plugin links.

@return array $links Altered links.
Show the rollback links in the plugin page .