um_allowed_user_tags_patterns
Hook type
Filter
Description
Extend user placeholders patterns
Parameters
$patterns
(array) Placeholders
Usage
<?php add_filter( 'um_allowed_user_tags_patterns', 'function_name', 10, 1 ); ?>
Examples
<?php add_filter( 'um_allowed_user_tags_patterns', 'my_allowed_user_tags', 10, 1 ); function my_allowed_user_tags( $patterns ) { // your code here return $patterns; } ?>
Change Log
Since: 2.0
Source
um_allowed_user_tags_patterns
is located in includes/core/class-shortcodes.php::line 804