SearchWP

This Documentation is for SearchWP Version 3

Available since: 2.7

searchwp_license_key

Most commonly your license key can be entered in the License area of SearchWP’s settings, but if you have a more systematic approach to implementing SearchWP you can also use this hook to programmatically tell SearchWP your license key.

To utilize this hook, add something like the following to your theme’s functions.php:

<?php
add_filter( 'searchwp_license_key', function(){
return 'MJqNKfmhT3gVG6kpeyjXvM'; // your license key (found on your payment receipt)
});
view raw functions.php hosted with ❤ by GitHub
[wpforms id="3080"]