Save user-specific options in WordPress admin
When you register your setting (assuming you’re using the settings API), you can get the current user object with wp_get_current_user. It returns a user object, and the property you’ll want to use in your setting is user_nicename — think of it like the user slug. <?php add_action( ‘admin_init’, ‘wpse27690_register_setting’ ); function wpse27690_register_setting() { $user = … Read more