Skip to content

activitypub_client_ip

github-actions[bot] edited this page Mar 12, 2026 · 1 revision

Filter the client IP address used for rate limiting.

Auto-generated Example

/**
 * Filter the client IP address used for rate limiting.
 *
 * @param string $ip 
 * @return string The filtered value.
 */
function my_activitypub_client_ip_callback( string $ip ) {
    // Your code here.
    return $ip;
}
add_filter( 'activitypub_client_ip', 'my_activitypub_client_ip_callback' );

Parameters

  • string $ip The detected client IP address.

Files

\apply_filters( 'activitypub_client_ip', $ip )

← All Hooks

Users

Developers

Clone this wiki locally