um_admin_extend_directory_options_general

Hook type

Filter

Description

Extend Directory options fields

Parameters

$fields

(array) Directory options fields

Usage

add_filter( 'um_admin_directory_sort_users_select', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_admin_directory_sort_users_select', 'my_directory_sort_users_select', 10, 1 );
function my_directory_sort_users_select( $sort_types ) {
    // your code here
return $sort_types;
}
?>

Change Log

Since: 2.0

Source

um_admin_extend_directory_options_general is located in includes/admin/templates/directory/general.php::line 128