Skip to content

Instantly share code, notes, and snippets.

@searchwpgists
Created March 29, 2022 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save searchwpgists/f876b94c407d490a4b24dccf9b7fa05d to your computer and use it in GitHub Desktop.
Save searchwpgists/f876b94c407d490a4b24dccf9b7fa05d to your computer and use it in GitHub Desktop.
Programmatically define SearchWP license key
<?php
// Programmatically define SearchWP license key.
add_filter( 'searchwp\license\key', function( $key ) {
return 'my-full-searchwp-license-key';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment