Filter: classifai_generate_image_alt_tags_source_url
Filter to modify image source URL in order to allow scanning images, stored on third party storages that cannot be used by helper function get_largest_acceptable_image_url() to determine filesize() locally.
Default is null, return filtered string to allow classifying image on external source.
Parameters
| Name | Type | Description |
|---|---|---|
| $image_url | mixed | New image path for given attachment ID. |
| $post_id | int | The ID of the attachment to be used in classification. |
Since
- 1.6.0
Source
Defined in includes/Classifai/Helpers.php at line 283
Returns
NULL or filtered URl for given attachment id.