- 
                Notifications
    You must be signed in to change notification settings 
- Fork 84
activitypub_pre_http_get
        github-actions[bot] edited this page Oct 22, 2025 
        ·
        11 revisions
      
    Fires before an HTTP GET request is made.
/**
 * Fires before an HTTP GET request is made.
 *
 * @param string $url 
 * @return string The filtered value.
 */
function my_activitypub_pre_http_get_callback( string $url ) {
    // Your code here.
    return $url;
}
add_filter( 'activitypub_pre_http_get', 'my_activitypub_pre_http_get_callback' );- 
string$urlThe URL endpoint.
\do_action( 'activitypub_pre_http_get', $url )Follow @[email protected] for updates and news.