1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +02:00

[ticket/17414] Add get_hidden_fields to interface

PHPBB-17414
This commit is contained in:
Marc Alexander
2024-10-05 17:11:30 +02:00
parent 3676e895f3
commit edce13c777
2 changed files with 20 additions and 0 deletions

View File

@@ -52,6 +52,13 @@ interface plugin_interface
*/
public function init(int $type): void;
/**
* Get hidden form fields for this captcha plugin
*
* @return array Hidden form fields
*/
public function get_hidden_fields(): array;
/**
* Validate the captcha with the given request data
*