更新时间:2023-12-05 23:51:16
您不能真正覆盖"函数.如果定义了函数,则无法重新定义或更改它.***的选择是创建插件的副本并直接更改功能.当然,每次插件更新时,您都必须重复此步骤.
You can't really "override" a function. If a function is defined, you can't redefine or change it. Your best option is to create a copy of the plugin and change the function directly. Of course you will have to repeat this everytime the plugin is updated.
为插件提供一个不同的名称,以在插件列表中区分它们.禁用原件,启用副本.
Give the plugin a different name to distinguish them in the plugin listing. Disable the original, enable your copy.