Title: Latest Github Release
Author: laurencebahiirwa
Published: <strong>20 April, 2019</strong>
Last modified: 21 Juny, 2022

---

Search plugins

![](https://ps.w.org/latest-github-release/assets/banner-772x250.jpg?rev=2745823)

Dizze plugin **is net hifke mei de lêste 3 grutte releases fan WordPress** . It 
kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe
as it wurdt brûkt mei resinte ferzjes fan WordPress.

![](https://ps.w.org/latest-github-release/assets/icon-256x256.jpg?rev=2745823)

# Latest Github Release

 Troch [laurencebahiirwa](https://profiles.wordpress.org/laurencebahiirwa/)

[Download](https://downloads.wordpress.org/plugin/latest-github-release.2.1.0.zip)

 * [Details](https://fy.wordpress.org/plugins/latest-github-release/#description)
 * [Resinsjes](https://fy.wordpress.org/plugins/latest-github-release/#reviews)
 * [Ûntwikkeling](https://fy.wordpress.org/plugins/latest-github-release/#developers)

 [Stypje](https://wordpress.org/support/plugin/latest-github-release/)

## Beskriuwing

Automatically add a download link to the latest Github repo release zips with
 a
shortcode [latest_github_release user=”github” repo=”hub”]

### Usage

Add the shortcode `[latest_github_release user="github" repo="hub"]` to desired 
post/page/widget and save to have the code working.

### options

One can add some customization to the shortcode such as

 * Name of the button = `[latest_github_release name="Desired Name"]`

### Use latest_github_release_link filter Hook

    ```
    `
    ```

add_filter( ‘latest_github_release_link’, ‘gmlatest_github_release_link’, 10, 3 );

function gmlatest_github_release_link( $html, $atts, $zip_url ) {

    ```
    // Add another class to the <a>.
    $atts['class'] .= ' another-class';

    // Add <h2> around the tag.
    $html = (
        '<h2><a href="' . esc_attr( $zip_url ) . '"'
        . ' class="' . esc_attr( $atts['class'] ) . '">'
        . esc_html( $atts['name'] )
        . '</a></h2>'
    );

    return $html;
    ```

}
 `

**Note:**
 1. Name attribute defaults to the word “Download” 1. Name is usedin combination
with the other attribbutes user & repo.

### Contribute/Issues/Feedback

If you have any feedback, just write an issue. Or fork the code and submit a PR 
[on Github](https://github.com/bahiirwa/Latest-Github-Release).

## Skermôfbyldings

[[

[[

[[

[[

## Resinsjes

D’r binne gjin resinsjes foar dizze plugin.

## Meiwurkers & amp; Untwikkelders

“Latest Github Release” is iepen boarne software. De folgjende minsken hawwe bydroegen
oan dizze plugin.

Meiwurkers

 *   [ laurencebahiirwa ](https://profiles.wordpress.org/laurencebahiirwa/)
 *   [ James Nylen ](https://profiles.wordpress.org/jnylen0/)

“Latest Github Release” is oerset yn 2 lokaasjes. Tank oan [de oersetters](https://translate.wordpress.org/projects/wp-plugins/latest-github-release/contributors)
foar harren bydragen.

[Oersette “Latest Github Release” yn jo taal.](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)

### Ynteressearre yn ûntwikkeling?

[Blêdzje troch de koade](https://plugins.trac.wordpress.org/browser/latest-github-release/),
besjoch de [SVN-repository](https://plugins.svn.wordpress.org/latest-github-release/),
of abonnearje op it [ûntwikkelingslogboek](https://plugins.trac.wordpress.org/log/latest-github-release/)
troch [RSS](https://plugins.trac.wordpress.org/log/latest-github-release/?limit=100&mode=stop_on_copy&format=rss).

## Feroaringslog

** 2.1.0 **
 – Test for WP 6.0 – Fix missing $zip_url in filter.

** 2.0.0 **
 – Updates the plugin to use static functions and to have code that 
is re-usable by other plugins.

** 1.2.0 **
 – Fix Caching errors. – Better docs. – Coding style/consistency fixes.

** 1.1.0 **
 – Code improvements.

** 1.0.0 **
 – Initial Release.

## Meta

 *  Version **2.1.0**
 *  Last updated **4 jier yn ôl**
 *  Active installations **Minder as 10**
 *  WordPress version ** 4.9 of heger **
 *  Tested up to **6.0.17**
 *  PHP version ** 5.6 of heger **
 *  Languages
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/latest-github-release/),
   [English (US)](https://wordpress.org/plugins/latest-github-release/), en [Luganda](https://lug.wordpress.org/plugins/latest-github-release/).
 *  [Oersette yn jo taal](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)
 * Tags
 * [Github](https://fy.wordpress.org/plugins/tags/github/)[latest](https://fy.wordpress.org/plugins/tags/latest/)
   [release](https://fy.wordpress.org/plugins/tags/release/)[zip](https://fy.wordpress.org/plugins/tags/zip/)
 *  [Avansearre werjefte](https://fy.wordpress.org/plugins/latest-github-release/advanced/)

## Wurdearrings

Der binne noch gjin resinsjes ynstjoerd.

[Your review](https://wordpress.org/support/plugin/latest-github-release/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/latest-github-release/reviews/)

## Meiwurkers

 *   [ laurencebahiirwa ](https://profiles.wordpress.org/laurencebahiirwa/)
 *   [ James Nylen ](https://profiles.wordpress.org/jnylen0/)

## Stypje

Hast wat te sizzen? Help nedich hawwe?

 [Besjoch stipefoarum](https://wordpress.org/support/plugin/latest-github-release/)

## Doar

Wolle jo de foarútgong fan dizze plugin stypje?

 [ Donearje oan dizze plugin ](https://omukiguy.com/)