We need to make sure the add_rewrite_rule is running each time otherwise the rewrite roles get lost if other plugins flush_rewrite_rules. Now the um_flush_stop check is moved to the add_rewrite_rule function to make sure add_rewrite_rule is fired. If the option "Stop rewriting rules on every load" is set to "on" and a plugin flush_rewrite_rules your add_rewrite_rule will get recognised. I also added a filer 'up_rewrite_flush_rewrite_rules' to allow plugins to stop rewriting without manipulating the option array. I hope this makes sense for you and help you. My english is not the best let me know if I got something wrong here or you have any question left. I like to help.
Ultimate Member
Ultimate Member is a powerful and flexible WordPress plugin that makes it a breeze for users to sign-up and become members. The plugin allows you to add beautiful user profiles to your site and is perfect for creating advanced online communities. Lightweight and highly extendible, Ultimate Member will enable you to create almost any type of site where users can join and become members with absolute ease.
| Latest Version | Requires at least | Stable Tag |
|---|---|---|
| 1.3.50 | WordPress 4.1 or higher | 1.3.44 |
##Features of the plugin include:
- Front-end user registration
- Front-end user login
- Front-end user profiles
- Custom form fields
- Conditional logic for form fields
- Drag and drop form builder
- User account page
- Custom user roles
- Searchable member directories
- Custom e-mail templates
- Content restriction
- Conditional menus
- Show author posts & comments on user profiles
- Mobile adaptive & responsive
- SEO optimized
- Developer friendly with dozens of actions and filters
- Multi-site compatibility
- Multilingual compatability
- Mandrill compatibility
Read about all of the plugin's features at Ultimate Member
Installation
- Download and extract the plugin, and copy the plugin folder into your wp-content/plugins directory.
- Activate the plugin
- That's it. Go to Ultimate Member > Settings to customize plugin options
- For more details, please visit the official Documentation page.
Documentation & Support
Got a problem or need help with Ultimate Member? Head over to our documentation and perform a search of the knowledge base. If you can’t find a solution to your issue then you can create a support ticket.
License
GNU Version 2 or Any Later Version
Releases
Latest Release: Ultimate Member v1.3.50.