apply_filters( 'cloudinary_can_sync_asset', $can, $attachment_id, $type ) → {bool}
Filter to allow changing if an asset is allowed to be synced.
Parameters:
Name | Type | Description |
---|---|---|
$can |
bool | Can sync. |
$attachment_id |
int | The attachment post ID. |
$type |
string | The type of sync to attempt. |
- Source:
Returns:
- Type
- bool