um_core_page_id_filter

Hook type

Filter

Description

Change UM page slug

Parameters

$slug

(array) UM page slug

Usage

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

Examples

<?php
add_filter( 'um_core_page_id_filter', 'my_core_page_id', 10, 1 );
function my_core_page_id( $slug ) {
    // your code here
return $slug;
}
?>

Change Log

Since: 2.0

Source

um_core_page_id_filter is located in includes/core/class-options.php::line 145