• Resolved arnolp

    (@arnolp)


    Hi,
    For reasons (validation workflow), I’d like to hide the duplicate button in specific usecases;

    Is there a hook I could use, like the native ones add_filter('get_edit_post_link',myfunction());
    to intercept the display of duplicate link ?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @arnolp ,

    Thanks for using duplicate plugin!
    Please allow me to get more information about this and feed you back as soon as possible.

    Kind regards,
    -Bruce-

    Hi @arnolp,

    You can try using these 2 filters to be able to show/hide duplicate button:

    add_filter('post_row_actions', myFunction());
    add_filter('page_row_actions',myFunction());

    Please let me know if it works.

    Chees,
    -Rose-

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hook to display / hide ‘duplicate button’’ is closed to new replies.