Support

Account

Home Forums General Issues update_field doesn't work

Helping

update_field doesn't work

  • Hi,

    I can’t get a number field to update no matter what I do. I have a cron job that automatically archives posts older than 3 years. Also, any post that is older than 7 days and has a value in the slide_order field, will have that value deleted. Both of those work fine, but the update_field function doesn’t work at all. Only the “else” statement below doesn’t work. Here’s my function:

    Nevermind 🙂

    My cron job was set up incorrectly. Everything works now.

  • Hi @karn

    Glad you were able to figure it out.

    Feel free to reach out to me in case something comes up:)

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘update_field doesn't work’ is closed to new replies.