um_get_core_page_filter

Hook type

Filter

Description

Change UM core page URL

Parameters

$url

(string) UM Page URL

$slug

(string) UM Page slug

$updated

(bool) Additional parameter

Usage

add_filter( 'um_get_core_page_filter', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_get_core_page_filter', 'my_core_page_url', 10, 3 );
function my_core_page_url( $url, $slug, $updated ) {
    // your code here
return $url;
}
?>

Change Log

Since: 2.0

Source

um_get_core_page_filter is located in includes/um-short-functions.php::line 846