Support » Plugin: Simple Custom Post Order » Get the Post Id Upon scp_update_menu_order

  • Resolved Saksham Talwar


    Hi Team,

    I am trying to build a function that clears cache whenever a post is re-ordered.

    I came across the hook scp_update_menu_order. When a post is re-ordered I need to get the post id or the term id in the function. Is there a way to do it?

Viewing 1 replies (of 1 total)
  • Plugin Support mplusb


    Hi @sakshamt,

    Thanks for reaching out!
    Unfortunately this is not yet possible, that hook will not give you access to a single post’s ID, because even when you re-order a single post all the posts from the visible posts list will also be re-order according to the new order.


Viewing 1 replies (of 1 total)
  • The topic ‘Get the Post Id Upon scp_update_menu_order’ is closed to new replies.