Support

Account

Home Forums Front-end Issues modified time doesn't changed

Solved

modified time doesn't changed

  • Hi,

    I made a form available in back & frontend to edit user’s profile.

    When I change values and submit form in backend (ACF form is included in WP native profile page), time of post is modified.

    But when I change values and submit from frontend, get_the_modified_time() doesn’t change.

    Thanks.

  • Front end forms don’t modify the posts or other objects it only updates the custom fields associated with them. To make modification to the post, or user in this case, you need to create an acf/pre_save_post filter and make modifications to the object.

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

The topic ‘modified time doesn't changed’ is closed to new replies.