Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
manuseiro committed May 23, 2024
1 parent 456d109 commit 28198f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ O verificador de atualização usa a interface de atualização padrão que é f
## Instalação

Defina o token do GitHub no `wp-config.php`:
```php
define('GITHUB_AUTH_TOKEN', 'seu-novo-token-aqui');
```

Inclua o arquivo `theme-update-checker.php` no `functions.php` do seu tema:
```php
define('GITHUB_AUTH_TOKEN', 'seu-novo-token-aqui');
```

Inclua a biblioteca `theme-update-checker` no `functions.php` do seu tema:

```php
require get_template_directory() . '/theme-update-checker/theme-update-checker.php';
Expand Down

0 comments on commit 28198f3

Please sign in to comment.