mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
New: The user role setting 'Avoid indexing profile by search engines'
This commit is contained in:
@@ -40,6 +40,14 @@
|
||||
'label' => __( 'Can view/access private profiles?', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Can this role view private profiles?', 'ultimate-member' ),
|
||||
'value' => ! empty( $role['_um_can_access_private_profile'] ) ? $role['_um_can_access_private_profile'] : 0,
|
||||
),
|
||||
array(
|
||||
'id' => '_um_profile_noindex',
|
||||
'type' => 'checkbox',
|
||||
'name' => '_um_profile_noindex',
|
||||
'label' => __( 'Avoid indexing profile by search engines', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Hides the profile page for robots', 'ultimate-member' ),
|
||||
'value' => ! empty( $role['_um_profile_noindex'] ) ? $role['_um_profile_noindex'] : 0,
|
||||
)
|
||||
)
|
||||
) )->render_form(); ?>
|
||||
|
||||
Reference in New Issue
Block a user