um_admin_directory_sort_users_select

Hook type

Filter

Description

Extend Sort Types for Member Directory

Parameters

$sort_types

(array) Sort Types

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_directory_sort_users_select is located in includes/admin/templates/directory/general.php::line 45