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/milindmore22/amp-link-new-tab/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.
AMP Open all links into new tab.
Plugin just opens all the links into new tab.
Notes
- this guys needs it I don't know why?
Plugin Structure
.
├── sanitizers
│ ├── class-sanitizer.php
└── amp-skeleton-compat.php
Sanitizers
The plugin uses amp_content_sanitizers filter to add custom sanitizers, to add attribute to links
Need a feature in plugin?
Feel free to create a issue and will add more examples.