Home › Forums › Add-ons › Repeater Field › Bidirectional with repeater issue › Reply To: Bidirectional with repeater issue
hello
i make it work with this code
function prevent_save_acf_value($value, $post_id, $field) {
return get_field('thisongov', $post_id);
}
add_filter('acf/update_value/name=thisongov', 'prevent_save_acf_value', 10, 3);
function dorzki_acf_read_only_field( $field ) {
if( 'thisongov' === $field['name'] ) {
$field['disabled'] = true;
}
return $field;
}
add_filter( 'acf/load_field', 'dorzki_acf_read_only_field' );
thank you ..
is there any way to add 2 fields values into one as array ?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.