mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
New: The user role setting 'Avoid indexing profile by search engines'
This commit is contained in:
@@ -1139,7 +1139,7 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
||||
'required' => 0,
|
||||
'public' => 1,
|
||||
'editable' => 1,
|
||||
'default' => '0',
|
||||
'default' => UM()->roles()->um_user_can( 'profile_noindex' ) ? '1' : '0',
|
||||
'options' => array(
|
||||
'0' => __( 'No', 'ultimate-member' ),
|
||||
'1' => __( 'Yes', 'ultimate-member' ),
|
||||
|
||||
Reference in New Issue
Block a user