Support

Account

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