zl程序教程

您现在的位置是:首页 >  其它

当前栏目

How Kyma plugin register hook to Activate and deactivate event

to and How Event plugin hook register Kyma
2023-09-14 09:03:58 时间

在Kyma plugin初始化时,把updateRegistration这个函数作为activated_plugin和deactivated_plugin事件的事件处理函数:

Actions are the hooks that the WordPress core launches at specific points

  • during execution, or when specific events occur. Plugins can specify that
  • one or more of its PHP functions are executed at these points, using the
  • Action API.

相当于ABAP Netweaver里的BAdI definition和BAdI implementation

要获取更多Jerry的原创文章,请关注公众号"汪子熙":