diff options
| author | 2025-07-30 08:03:04 +0200 | |
|---|---|---|
| committer | 2025-07-30 08:03:04 +0200 | |
| commit | e33ef74af9ff2f8ba1c6909b78ee07633cff240a (patch) | |
| tree | 8efbe0d1ac1105a996029adc0703f9cf4de118f6 /docs | |
| parent | e967b07589f687fcd2f71e2df265fcb7c4f15c07 (diff) | |
`before_login_btn` hook + system conf attributes (#7761)
* `before_login_btn` hook + system conf attributes
* phpstan fix
* Refactoring
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/en/developers/03_Backend/05_Extensions.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md index 4f905ec9b..6550b8e6a 100644 --- a/docs/en/developers/03_Backend/05_Extensions.md +++ b/docs/en/developers/03_Backend/05_Extensions.md @@ -166,6 +166,7 @@ The following events are available: * `api_misc` (`function(): void`): to allow extensions to have own API endpoint on `/api/misc.php/Extension%20Name/` or `/api/misc.php?ext=Extension%20Name`. +* `before_login_btn` (`function(): string`): Allows to insert HTML before the login button. Applies to the create button on the register page as well. Example use case is inserting a captcha widget. * `check_url_before_add` (`function($url) -> Url | null`): will be executed every time a URL is added. The URL itself will be passed as parameter. This way a website known to have feeds which doesn’t advertise it in the header can still be automatically supported. * `custom_favicon_btn_url` (`function(FreshRSS_Feed $feed): string | null`): Allows extensions to implement a button for setting a custom favicon for individual feeds by providing an URL. The URL will be sent a POST request with the `extAction` field set to either `query_icon_info` or `update_icon`, along with an `id` field which describes the feed's ID. Example response for a `query_icon_info` request: |
