um_search_field_{$filter}

Hook type

Filter

Description

Extend search settings by $filter

Parameters

$settings

(array) Search Settings

Usage

<?php add_filter( 'um_search_field_{$filter}', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_search_field_{$filter}', 'my_search_field', 10, 1 );
function my_change_email_template_file( $settings ) {
    // your code here
return $settings;
}
?>

Change Log

Since: 2.0

Source

um_search_field_{$filter} is located in includes/core/class-members.php::line 122