Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'algolia_autocomplete_config', function ( $config ) {
- if (true) { // Replace this condition to match your needs.
- // Autocomplete enabled.
- return $config
- }
- // Autocomplete disabled.
- return array();
- } );
Add Comment
Please, Sign In to add comment