Define a custom upload folder path for the Image Field.
Setting name | Description |
Upload Folder | Leave blank to use the native upload folder. Available template tags: {year} {month} |
Choose which uploader type should be used in the post edit screen, the setting is field based.
Setting name | Description |
Uploader type | Choose the uploader type |
See Featured Images & Post Thumbnails documentation.
This setting will automatically set the image as Featured thumbnail on the current post. This setting will only work on Post objects (and not on terms, options or users). Note that add_theme_support('post-thumbnails')
must be activated.
Setting name | Description |
Featured thumbnail | Make this image the featured thumbnail |
This setting will save the selected image in the _thumbnail_id
meta key. The field’s value will also be saved like any other ACF field. To prevent the value from being saved, you can use the acf/update_value
hook and return null
. Usage example:
/**
* acf/update_value
*
* https://www.advancedcustomfields.com/resources/acf-update_value/
*/
add_filter('acf/update_value/name=image', 'my_acf_image_update', 10, 3);
function my_acf_image_update($value, $post_id, $field){
return null;
}