Home › Forums › Backend Issues (wp-admin) › Option to get all the titles into post › Reply To: Option to get all the titles into post
I thought doing something like this
function acf_load_titles_field_choices( $field ) {
wp_enqueue_script('summary', get_template_directory_uri() . '/inc/js/summary.js', array(), '1.0.0', 'true' );
}
add_filter('acf/load_field/id=field_6218bb3d7551a', 'acf_load_titles_field_choices');
But of course it doesn’t work
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.