Add support for custom ACF fields
Open
- Dominant language
- PHP
- Stars
- 132
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
We are currently using this
https://github.com/joppuyo/acf-image-aspect-ratio-crop
which creates a field type `image_aspect_ratio_crop`
I can seemingly use it by adapting `FieldFactory.php`
```
case 'image':
case 'img':
case 'image_aspect_ratio_crop': // <= added this
$field = new Image($post);
```
Would be good to be able to define that dynamically, but I'm guessing the internal field mapping won't necessarily be the same?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.