Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Change Default Role for New Users */
- function default_role() {
- $default_role = get_option( 'default_role' );
- return $default_role;
- }
- add_filter( 'jnews_register_default_role', 'default_role' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement