• デバッグモードが有効な状態でプラグインを使用すると、下記のエラーがでます。

    Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook.

    register_uninstall_hook にフックされているのが普通のクラスメソッドなので Notice エラーがでているようです。静的メソッドか関数にすれば大丈夫みたいです。

  • The topic ‘uninstall hook が正しく使用されていない’ is closed to new replies.