Support

Account

Home Forums General Issues Save total CPT count to ACF field Reply To: Save total CPT count to ACF field

  • In order to save the total number of posts each time one is created, I think you might need to hook into either acf/save_post or WordPress save_post, where you would update the total count.

    Depending on your requirements, it may be easier to just use wp_count_posts when you need to display that number.