Created
July 21, 2022 06:35
-
-
Save runezero/f721ed6e11636a01a4b022b4f5484f60 to your computer and use it in GitHub Desktop.
[Disable ajax search] Disables the ajax search in the search pop-up within Enfold #enfold
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
| add_action('avf_frontend_search_form_param', 'av_disable_ajax_search',9); | |
| function av_disable_ajax_search($params) | |
| { | |
| $params['ajax_disable'] = true; | |
| return $params; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment