filter('acfe/flexible/previews/name=$field_name', $thumbnails, $field)
allowing to override the preview image for each layout (usage example is available in the FAQ)filter('acfe/flexible/previews/key=$field_key', $thumbnails, $field)
allowing to override the preview image for each layout (usage example is available in the FAQ)get_flexible()
, get_query_var('acf_flexible_field')
& get_query_var('acf_flexible_layout')
can be used in the template file to retrieve current field & layout informationsget_flexible()
, an HTML comment has been added for each rendered templatesget_flexible()
(thanks to @Val_Pellegrin)get_flexible()
now enqueue each style.css & script.js only one time on the whole page