searchwp\debug
Desde: 4.0.0
Tabla de contenidos
Controlar si la depuración está habilitada.
Parámetros
| Tipo | Parámetro | Predeterminado | Desde |
|---|---|---|---|
| Booleano | $enabled |
Estado de la casilla de verificación en la pestaña Avanzado de la pantalla de configuración de SearchWP | 4.0.0 |
Ejemplos
All hooks should be added to your custom SearchWP Customizations Plugin.
Habilitar depuración
This file contains hidden or 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 debugging in SearchWP. | |
| add_filter( 'searchwp\debug', '__return_true' ); |

