-
-
Save dexit/9836ba4ebf777655775d7236260131e7 to your computer and use it in GitHub Desktop.
Remove Elementor Pro search box settings query param
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 | |
| add_action('elementor_pro/search/before_input', function ($module) { | |
| $module->remove_render_attribute('widget_props', 'name'); | |
| $module->remove_render_attribute('widget_props', 'value'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment