There was an error while loading. Please reload this page.
Filter the client IP address used for rate limiting.
/** * 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' );
string
$ip
\apply_filters( 'activitypub_client_ip', $ip )
← All Hooks