Created
June 26, 2019 15:17
-
-
Save jchristopher/6b9de04f4cfcaf4758ebba9467f98c1f to your computer and use it in GitHub Desktop.
Customize the directory used in SearchWP Modal Form's template loader
This file contains 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_filter( 'searchwp_modal_form_template_dir', function( $dir ) { | |
return 'my-searchwp-modal-forms'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment