um_permalink_base_after_filter_name_dash

Hook type

Filter

Description

Base permalink after if permalink is first name - last name

Parameters

$permalink

(string) User Permalink

$raw_permalink

(string) RAW User Permalink

Usage

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

Examples

<?php
add_filter( 'um_permalink_base_after_filter_name_dash', 'my_permalink_base_after_filter_name_dash', 10, 2 );
function my_permalink_base_after_filter_name_dash( $permalink, $raw_permalink ) {
    // your code here
return $permalink;
}
?>

Change Log

Since: 2.0

Source

um_permalink_base_after_filter_name_dash is located in includes/core/um-filters-user.php::line 198