diff --git a/website/forms/php/filters/block/form/result-output-items.md b/website/forms/php/filters/block/form/result-output-items.md index 4ed8b284b..ee586ca78 100644 --- a/website/forms/php/filters/block/form/result-output-items.md +++ b/website/forms/php/filters/block/form/result-output-items.md @@ -8,7 +8,7 @@ Allows modifying _Form result output parts_ using an API to change which block i Used by the `result-output-item` block. ```php -add_filter('es_forms_integrations_form_result_output_items', 'getIntegrationResultOutputItems', 10, 3); +add_filter('es_forms_block_form_result_output_items', 'getFormResultOutputItems', 10, 3); /** * Populate Result output items in the API response data used in 'result-output-item' block. @@ -19,7 +19,7 @@ add_filter('es_forms_integrations_form_result_output_items', 'getIntegrationResu * * @return array */ -function getIntegrationResultOutputItems(array $output, array $formDetails, string $formId): array +function getFormResultOutputItems(array $output, array $formDetails, string $formId): array { $output['testKeys'] = 'testValue'; diff --git a/website/forms/php/filters/block/form/result-output-parts.md b/website/forms/php/filters/block/form/result-output-parts.md index 78d1a4376..de2cb2a03 100644 --- a/website/forms/php/filters/block/form/result-output-parts.md +++ b/website/forms/php/filters/block/form/result-output-parts.md @@ -8,7 +8,7 @@ Allows modifying _Form result output parts_ using an API to change which shortco Used by the `esFormsROIP` shortcode. ```php -add_filter('es_forms_integrations_form_result_output_parts', 'getIntegrationResultOutputParts', 10, 3); +add_filter('es_forms_block_form_result_output_parts', 'getFormResultOutputParts', 10, 3); /** * Populate result output parts in the API response data used in the 'esFormsROIP' shortcode. @@ -19,7 +19,7 @@ add_filter('es_forms_integrations_form_result_output_parts', 'getIntegrationResu * * @return array */ -function getIntegrationResultOutputParts(array $output, array $formDetails, string $formId): array +function getFormResultOutputParts(array $output, array $formDetails, string $formId): array { $output['testKeys'] = 'testValue';