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/ioroot/wp-plugin__regexer/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
REGEXER
Apply a regex to any post type and field. Test, Single ID or Bulk all posts of type.
1. Table of Contents
1. Table of Contents
2. About The Project
2.1. Built With
2.2. Installation
3. Usage
3.1. Instance
3.2. WPQuery
3.3. Target field
3.4. Transform
3.4.1. Regex Replace.
3.4.2. Text Replace.
3.4.3. Prefix.
3.4.4. Suffix.
3.4.5. Remove.
3.5. Preview
3.6. Regex Sidebar
4. Common Regexes used
5. Troubleshooting
6. Contributing
7. License
8. Contact
9. Changelog
2. About The Project
WARNING. CHANGES ARE PERMANENT. YOU CANNOT UNDO YOUR CHANGES ONCE YOU HAVE CHANGED THE POSTS. USE WITH CAUTION.
Highlights:
- Allows you to regex post fields on any post types.
- Uses pregreplace() on a posttype / postfield combination.
- You can select preview or LIVE modes to test your regex before you apply it.
- Within the LIVE mode you can either specify a single post ID or leave it optionally blank to apply the regex to ALL posts of that post type.
(back to top)
2.1. Built With
This project was built with the following frameworks, technologies and software.
ACF Pro
PHP
Wordpress
Composer
(back to top)
2.2. Installation
The