um_validation_safe_string_regex
Hook type
Filter
Description
Change validation regex for each string
Parameters
$regex_safe
(string) Regex
Usage
<?php add_filter( 'um_validation_safe_string_regex', 'function_name', 10, 1 ); ?>
Examples
<?php add_filter( 'um_validation_safe_string_regex', 'my_validation_safe_string', 10, 1 ); function my_validation_safe_string( $regex_safe ) { // your code here return $regex_safe; } ?>
Change Log
Since: 2.0
Source
um_validation_safe_string_regex
is located in includes/core/class-validation.php::line 156