Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created June 26, 2019 15:17
Show Gist options
  • Save jchristopher/6b9de04f4cfcaf4758ebba9467f98c1f to your computer and use it in GitHub Desktop.
Save jchristopher/6b9de04f4cfcaf4758ebba9467f98c1f to your computer and use it in GitHub Desktop.
Customize the directory used in SearchWP Modal Form's template loader
<?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