mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
- added option to expand by default member directory filters bar;
This commit is contained in:
@@ -93,6 +93,14 @@ global $post_id; ?>
|
||||
'add_text' => __( 'Add New Custom Field', 'ultimate-member' ),
|
||||
'show_default_number' => 1,
|
||||
),
|
||||
array(
|
||||
'id' => '_um_filters_expanded',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Expand the filter bar by default', 'ultimate-member' ),
|
||||
'tooltip' => __( 'If turned on, filters bar will be visible after a page loading and can be collapsed', 'ultimate-member' ),
|
||||
'value' => UM()->query()->get_meta_value( '_um_filters_expanded' ),
|
||||
'conditional' => array( '_um_filters', '=', 1 )
|
||||
),
|
||||
array(
|
||||
'id' => '_um_search_filters',
|
||||
'type' => 'md_default_filters',
|
||||
|
||||
Reference in New Issue
Block a user