um_permalink_base_after_filter_name

Hook type

Filter

Description

Base permalink after if permalink is username

Parameters

$permalink

(string) User Permalink

$raw_permalink

(string) RAW User Permalink

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_permalink_base_after_filter_name is located in includes/core/um-filters-user.php::line 157