searchwp\source\check_db
Da: 4.0.0
Indice
Controlla se SearchWP valida le proprietà del database di una Sorgente.
Parametri
| Tipo | Parametro | Predefinito | Da |
|---|---|---|---|
| Booleano | $enabled |
false |
4.0.0 |
Esempi
All hooks should be added to your custom SearchWP Customizations Plugin.
Valida le propriet ilde{A }
Per impostazione predefinita SearchWP non convalida le propriet ilde{A } del database di origine per ridurre il numero di query eseguite. Per far s ilde{A } che SearchWP esegua controlli aggiuntivi sulle origini, utilizzare questo snippet:
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 | |
| // Validate Source database properties in SearchWP. | |
| add_filter( 'searchwp\source\check_db', '__return_true' ); |

