• Resolved tsjippy

    (@tsjippy)


    What is the correct syntax? I found two potentials:

    add_action( 'wpstg_clone_action_staging', array($this, 'wpstg_execute_after_cloning' ), 10);
    add_action( 'wpstg.clone_first_run', array($this, 'wpstg_execute_after_cloning' ), 10);

    Both don’t seem to work I tested with this:

    function wpstg_execute_after_cloning() { 
        error_log("test1"); 
    }
    • This topic was modified 4 years, 4 months ago by tsjippy.
Viewing 1 replies (of 1 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hi, both are correct but the first one is deprecated and it’s recommended to use the first one.

    It seems you find an issue if this does not work. We are checking this and will release an update for it then.

    Thank you for the heads up.

    René

Viewing 1 replies (of 1 total)
  • The topic ‘action after cloning’ is closed to new replies.