Log HTTP Requests

Log HTTP Requests Install Statistics

95
963.64%
Today: 106 Yesterday: 11 All-time: 43,356 downloads
Log HTTP Requests Icon

Try plugin: Log HTTP Requests

We'll create fresh WordPress site with Log HTTP Requests installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Log HTTP Requests

Log and view all WP HTTP requests

13


0


0


0


0

updated: 1 year ago
since: 6 years ago
author: FacetWP, LLC

Description

Log and view all WP HTTP requests

How long do [core / plugin / theme] update checks take to run? What data about my site is being sent out? What about all those ajax requests? The answers to these questions are just a few clicks away.

This plugin logs all WP_HTTP requests and displays them in a table listing for easy viewing. It also stores the runtime of each HTTP request.

Available Hooks

Customize the length (in days) before older log items are removed:

add_filter( 'lhr_expiration_days', function( $days ) {
    return 7; // default = 1
});

Don’t log items from a specific hostname:

add_filter( 'lhr_log_data', function( $data ) {
    if ( false !== strpos( $data['url'], 'wordpress.org' ) ) {
        return false;
    }
    return $data;
});

In the above example, the $data array keys correspond to columns within the lhr_log database table.

Important Links