SearchWP

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:

<?php
// enable SearchWP debugging
add_filter( 'searchwp_debug', '__return_true' );
view raw gistfile1.php hosted with ❤ by GitHub