Deactivating the “lock modified date”

#899282
  • Hi,

    your new feature is great, but not needed for me, as I developed something similar (and imho better ^^) a few years ago. You can see it on this post https://life-in-morocco.com/vintage-cars-morocco where the update is clearly explained.

    Nevertheless, your feature somehow wreck havoc on the updates date. This page https://life-in-morocco.com/last-updates-posts should show the posts sorted by “modification dates”, but somehow, your feature creates a modification date even where there is none… it’s quite obvious with the posts that have a modified date just the same day as publication. And many posts are here just because I did something.

    On another website, a customer had problems with his paid adds campaigns, because it changed the timeframes as we calculated them.

    It is also a problem with my customers who get lost and do not understand what they have to do with it.

    Is there a hook to safely get rid of the checkbox and prevent it from messing with my process ?

    FYI, the “process” is a filter with standard priorities
    add_filter( 'wp_insert_post_data', 'lln_filter_update_dates',10,2) ;

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the modified date feature in Rank Math. Thank you for sharing your feedback and the details about your process.

    To deactivate the "lock modified date" feature, you can use a filter to prevent it from affecting your posts. Unfortunately, the specific hook to remove the checkbox directly isn’t provided in the context we have. However, you can try using the following code snippet to disable the locking functionality:

    add_filter('rank_math/lock_modified_date', '__return_false');

    This code will effectively disable the locking of modified dates across your site. You can add this snippet to your theme’s functions.php file or a custom plugin.

    If you continue to experience issues or need further assistance, please reply to this ticket, and a human agent from the Rank Math Support team will be happy to help you further.

    Thank you for your understanding!

    Sources:
    How to Lock the Modified Date of Your Posts » Rank Math
    How to Prevent Modified Date of Your Blog Posts from Being Updated » Rank Math

    Thanks. I’ll test and I’ll check it works

    It works thank you.

    Hello,

    Glad that helped.

    If you have any other concerns, please don’t hesitate to contact us anytime so we can assist you further.

    Looking forward to helping you.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Deactivating the “lock modified date”’ is closed to new replies.