Home › Forums › ACF PRO › View Parameter Values in acf/fields/flexible_content/layout_title Filter › Reply To: View Parameter Values in acf/fields/flexible_content/layout_title Filter
Hi @leclaeli
I believe you can just dump it like this:
function my_acf_flexible_content_layout_title( $title, $field, $layout, $i ) {
echo '<pre>';
var_dump($title);
var_dump($field);
var_dump($layout);
var_dump($i);
echo '</pre>';
// return
return $title;
}
// name
add_filter('acf/fields/flexible_content/layout_title/name=my_flex_field', 'my_acf_flexible_content_layout_title', 10, 4);
The problem with repeater field is that there’s no place to put the title. If you want, you can use the message field and modify the value by using the acf/load_value filter.
I hope this helps 🙂
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.