Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Nov 10, 2023
1 parent 9dc39a2 commit 49a79f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,13 @@ functionality:
\StellarWP\Uplink\render_authorize_button( 'kadence-blocks-pro' );
```

You can also pass in a custom license domain, which can be fetched on the Uplink Origin side from the `uplink_domain` query variable:

```php
// Call the namespaced function with your plugin slug and license domain.
\StellarWP\Uplink\render_authorize_button( 'kadence-blocks-pro', 'customer-site.com' );
```

> 💡 The button is very customizable with filters, see [Authorize_Button_Controller.php](src/Uplink/Components/Admin/Authorize_Button_Controller.php).
### Manually Check if a License is Remotely Authorized
Expand Down

0 comments on commit 49a79f7

Please sign in to comment.