Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/luizbills/4-snippets/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
4 Snippets
Read as "for snippets"
4 Snippets is a simple plugin for test snippets in WordPress development envoriments.
Features
- Just put your snippets inside the plugin's includes directory.
- Files and folders that starts with (underscore) ou . (dot) will be ignored.
- You can disable all snippets with define( 'DISABLESNIPPETS', true ); or by appending disable-snippets query argument to end of the current page's URL. Example: https://yousite.com/wp-login.php?disable-snippets
LICENSE
GPLv3