apply_filters( 'um_permalink_base_before_filter', $permalink ) → {string}
Filters the base user permalink value before cleaning.
Parameters:
Name | Type | Description |
---|---|---|
$permalink |
string | User Profile permalink. |
- Since:
- 1.3.x
- Source:
Returns:
User Profile permalink.
- Type
- string
Example
function my_permalink_base_before( $permalink ) {
// your code here
return $permalink;
}
add_filter( 'um_permalink_base_before_filter', 'my_permalink_base_before' );