• Resolved Mike

    (@mvasin)


    I have “Intuitive Custom Post Order” plugin, that lets re-order posts/custom post types in admin panel. It does it in AJAX style. The problem is – changes are not applied on the front-end until I flush Redis cache manually.

    If it’s not a problem to be addressed on your side and “Intuitive Custom Post Order” plugin must be fixed instead, could you please suggest what kind of a hook should be run after each AJAX action in order to refresh the Redis cache.

    Thank you for the great plugin, BTW!

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    I’d suggest you ask the plugin author of Intuitive Custom Post Order what hook you can use after the post order changed… and yeah, it’s something the plugin author has to fix to make sure the cache is updated properly.

    I my guess it’s gonna be:

    add_action( 'wp_ajax_update-menu-order', 'wp_flush_cache', 100 );
    
    • This reply was modified 7 years, 7 months ago by Till Krüss.
Viewing 1 replies (of 1 total)
  • The topic ‘Stale order of reordered menu items’ is closed to new replies.