# Stash snippets

Filters ::: filter_stash
Maintained by Frédéric Massart ⭐, Adrian Greeve
Filter plugin to make the usage of the block "Stash" a lot easier!
Latest release:
196 sites
13 fans
Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

This plugin is retired in favour of the plugin Shortcodes, please use the latter instead.

Simplify the usage of the block Stash by providing shortcodes to place items.

#### Why using this?

With this filter the snippet to place the items becomes very simple:

[drop:123:abc]

• Teachers do not have to switch to the HTML view of their editors
• The shortcode is always visible when editing, unlike the Javascript snippet
• Unlike the Javascript snippet, the shortcode will gracefully support newer versions
• The snippet will (safely) make it through some security limitations

### Sets

This plugin is part of set Stash.

### Awards

• Fri, Aug 26, 2016, 3:29 PM
To whoever reviews this, would it be possible to create a "Stash" set with the filter, availability and block plugins in it? Thanks!
• Fri, Aug 26, 2016, 8:01 PM

Thanks guys for sharing this filter with the community. I was able to successfully test the functionality with the recent version of the block and I admit it just integrates perfectly. Well done on that. I did not find any obvious problem in the code itself. In some future update of the filter, it might be nice to have some unit and behat tests attached but I am sure you are aware of that

You are cleared to land now. Welcome to the Plugins directory!

• Sat, Sep 1, 2018, 1:29 AM
Como faço para ter um relatório do ranking de itens coletados por ordem numérica? Por quantidade de itens recolhidos e não por ordem alfabética.