Access ACF fields within custom preview function?

Question

I’d like to access custom ACF field values from custom_preview() filter?

add_filter( 'preview_post_link', 'custom_preview' );

function custom_preview() {
    // how to access ACF field values here ?
}
0
, haxpanel 1 year 2020-07-22T05:10:29-05:00 0 Answers 45 views 0

Leave an answer

Browse
Browse