Ever wanted to protect your admin area from access by non-admin users? Try adding this to your functions.php. add_action(‘auth_redirect’,'custom_admin_access’); function custom_admin_access() { global $current_user; if( !current_user_can(‘manage_options’) && is_admin() ) { wp_redirect( home_url() ); } }
Registration Forms: What’s New in 1.5
October 26, 2010 By 36 Comments
Last week I released version 1.5 of my Simplr Registration Forms plugin. The new version includes some big fixes and requested features. Particularly, this version now supports WP Multisite and has a few addition profile fields that can be added to the default form. It also includes better security, via WP nonces, and better field [...]
Recent Comments