um_prepare_user_results_array

Hook type

Filter

Description

Extend member directory query result

Parameters

$result

(array) Members Query Result

Usage

<?php add_filter( 'um_prepare_user_results_array', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_prepare_user_results_array', 'my_prepare_user_results', 10, 1 );
function my_prepare_user_results( $result ) {
    // your code here
return $result;
}
?>

Change Log

Since: 2.0

Source

um_prepare_user_results_array is located in includes/core/class-members.php::line 509