Permalink
Browse files

Update user-activate.md

  • Loading branch information...
Pikkulahti committed Apr 16, 2018
1 parent ecc36e8 commit fc597c8af2dee95ff51f21532826761f6313c862
Showing with 6 additions and 1 deletion.
  1. +6 −1 docs/customize-wp/user-activate.md
@@ -8,6 +8,11 @@ These can be found in `models/user-activate.php` and `partials/user-activate.dus
Be careful when editing the user-activate.php that nothing breaks!
If you want to extend the original without overriding it, you can specify the model with this filter. Then you can just extend the original UserActivate class.
```
add_filter(‘dustpress/template/useractivate’, function( $template ) { return ‘CustomUserActivate’; } );
```
### Files
```
models/user-activate.php
@@ -58,4 +63,4 @@ Print returns to the view all the translated strings that wp-activate.php would
- Translated string of "Your chosen password"
### Multisite
This is also tested in multisite. Actually the idea to create this arose from problems with wp-activate.php on multisite.
This is also tested in multisite. Actually the idea to create this arose from problems with wp-activate.php on multisite.

0 comments on commit fc597c8

Please sign in to comment.