<?php the_field('ingredienty_v_reczepte_1', false, false); ?>
function ingredients($ingr){
if(!in_category(243)) {
$ingr = Preg_Replace_Callback('!<ol>(.*?)</ol>!si', Create_Function('$matches','Return Str_Replace("<li>", "<li itemprop=\"ingredients\" class= \"ingredient\">", $matches[0]);'),$ingr);
}
return $ingr;
}
add_filter('the_content', 'ingredients');
apply_filters( 'acf/format_value', $value, $post_id, $field );