um_get_current_page_url

Hook type

Filter

Description

Change current page URL

Parameters

$page_url

(string) Page URL

Usage

<?php add_filter( 'um_get_current_page_url', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_get_current_page_url', 'my_get_current_page_url', 10, 1 );
function my_get_current_page_url( $page_url ) {
    // your code here
return $page_url;
}
?>

Change Log

Since: 2.0

Source

um_get_current_page_url is located in includes/core/class-permalinks.php::line 205