apply_filters( 'um_core_page_id_filter', $page_key ) → {string}
Filters the predefined page option key.
Parameters:
Name | Type | Description |
---|---|---|
$page_key |
string | Predefined page option key. |
- Since:
- 1.3.x
- Source:
Returns:
Predefined page option key.
- Type
- string
Example
function my_um_core_page_id_filter( $page_key ) {
if ( 'core_login' === $page_key ) {
$page_key = 'core_login_custom';
}
return $page_key;
}
add_filter( 'um_core_page_id_filter', 'my_um_core_page_id_filter' );