-
-
Save searchwpgists/cd479055b77bb3e2374de2f40c0f88d9 to your computer and use it in GitHub Desktop.
SearchWP Related samples engines
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 | |
// Define the engines to use for the metabox samples. | |
add_filter( 'searchwp_related_meta_box_sample_engines', function( $engines ) { | |
return [ 'default', 'products' ]; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment