um_search_field_type

Hook type

Filter

Description

Change search field type

Parameters

$type

(string) Search field type

$settings

(array) Search Settings

Usage

<?php add_filter( 'um_search_field_type', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_search_field_type', 'my_search_field_type', 10, 2 );
function my_search_field_type( $type, $settings ) {
    // your code here
return $type;
}
?>

Change Log

Since: 2.0

Source

um_search_field_type is located in includes/core/class-members.php::line 148