Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jeremyescott/c7bcf14318307749ad53e20a16ecd9c7 to your computer and use it in GitHub Desktop.

Select an option

Save jeremyescott/c7bcf14318307749ad53e20a16ecd9c7 to your computer and use it in GitHub Desktop.

Revisions

  1. jeremyescott created this gist Nov 29, 2017.
    8 changes: 8 additions & 0 deletions matador_variable_api_redirect_uri_set_null.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    /**
    * Authorize Matador without a Redirect URI set
    *
    * Recommended to use this only in development mode or while waiting for Bullhorn to set a
    * new redirect URI for your API user. Letting Matador check the redirect URI is an essential
    * safety check for your software.
    */
    add_filter( 'matador_variable_api_redirect_uri', '__return_false' );