um_access_enable_referer

Hook type

Filter

Description

Access Referrer Enable/Disable

Parameters

$referrer

(bool) Access referrer

Usage

add_filter( 'um_access_enable_referer', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_access_enable_referer', 'my_access_enable_referer', 10, 1 );
function my_access_enable_referer( $referrer ) {
    // your code here
return $referrer;
}
?>

Change Log

Since: 2.0

Source

um_access_enable_referer is located in includes/core/class-access.php::line 437