Dynamic Preview show static image preview
-
I’m trying to show static image preview as dynamic preview. what I’v tried so far
firstly remove action thats rendering dynamic preview.
remove_action('acfe/flexible/preview', 'acfe_flexible_layout_preview_render',100,2);then i’m trying to load a static image
add_action('acfe/flexible/preview', 'acf_flexible_preview', 100, 2); function acf_flexible_preview($field, $layout){ echo '<img src="my-image-png"/>'; }Issue is the
remove_actionpart not working. It’s not being removed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Dynamic Preview show static image preview’ is closed to new replies.