Support

Account

Home Forums Backend Issues (wp-admin) Import published post year to acf field Reply To: Import published post year to acf field

  • Hi @kollinsayz

    I’m not sure what you mean when you say “based on the already existing posts”

    You could use the acf/load_value filter to pre-populate the value a field.

    Here’s the PHP manual for getting the current date/time.

    But remember that WordPress time stamps posts automatically, and you can use the Date Parameters of a WP_Query to show posts associated with a certain time and date period.