Available since: 1.0
searchwp_debug
If you are experiencing unexpected behavior, enable the debug log and include it when submitting a support request, it can provide insight into what a potential problem may be.
See the debug documentation for more information.
Example: To enable debugging, add the following to your active theme’s functions.php
:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// enable SearchWP debugging | |
add_filter( 'searchwp_debug', '__return_true' ); |