• WP executes my installation function using the register_activation_hook for installation process.

    I use register_activation_hook to handle installation. But I have to cancel installation when activating if any condition was appear. I tried to return a false with my hook function but not worked.

    Is there a any method to terminate registiration/installig process in hook function or any other stage of installation?

  • The topic ‘How to terminate installation of plugin in activation hook?’ is closed to new replies.