um_search_fields

Hook type

Filter

Description

Filter all search fields

Parameters

$settings

(array) Search Fields

Usage

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

Examples

<?php
add_filter( 'um_search_fields', 'my_search_fields', 10, 1 );
function my_search_fields( $settings ) {
    // your code here
return $settings;
}
?>

Change Log

Since: 2.0

Source

um_search_fields is located in includes/core/class-members.php::line 171