apply_filters( 'cloudinary_validate_cloudinary_id', $cloudinary_id, $attachment_id ) → {string|bool}
Filter to validate the Cloudinary ID to allow extending it's availability.
Parameters:
Name | Type | Description |
---|---|---|
$cloudinary_id |
string | bool | The public ID from Cloudinary, or false if not found. |
$attachment_id |
int | The id of the asset. |
- Source:
Returns:
- Type
- string | bool