SearchWP

This Documentation is for SearchWP Version 3

Available since: 2.9

searchwp_debug_include_pid

View Parameters »

Debugging in SearchWP can be very helpful in a number of ways. By default the debug log is designed to be as meaningful as possible while being terse as well. If you’d like more insight into the debug output SearchWP can also include a process ID alongside each log entry. This is disabled by default as it isn’t globally useful when debugging.

To enable PID inclusion in debug output you can use the following hook:

<?php
// Enable PID output when debugging in SearchWP.
add_filter( 'searchwp_debug_include_pid', '__return_true' );
view raw functions.php hosted with ❤ by GitHub

Parameters

Parameter Type Description
$enabled Boolean

Whether the PID should be included in debug output

[wpforms id="3080"]