Filter: classifai_ocr_text_post_args
Filter the post arguments before saving the text to post_content.
This enables text to be stored in a different post or post meta field, or do other post data setting based on scan results.
Parameters
Name | Type | Description |
---|---|---|
$post_args | array | Array of post data for the attachment post update. Defaults to ID and post_content . |
$attachment_id | int | ID of the attachment post. |
$result | string | The full scan results from the API. |
Since
- 1.6.0
Source
Defined in includes/Classifai/Features/ImageTextExtraction.php
at line 232
Returns
The filtered post arguments.