我的 WordPress 插件在特定插件激活时才可以激活,可以吗-综合讨论论坛-讨论专区-光子波动网 | 专业WordPress修复服务,全球范围,快速响应
3
share (joys, benefits, privileges etc) with others

My WordPress plugin can only be activated when a specific plugin is activated, is that ok?

How do I make my WordPress plugin activate only when a specific plugin (e.g. WooCommerce) is active?

I want my plugin to be activated only if other plugins (e.g. WooCommerce) are already active.

If this condition is not met, the plugin should show an administrator notification in the plugin list (e.g. reminding the user to activate WooCommerce). I tried using the plugin_row_meta, but it is only displayed when the plugin is activated and does not enable administrator notifications. The plugin can still be activated even if the conditions are not met.

May I know how to realize this function?


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
commentaries Total 2

Please log in to post a comment

客服

first aid

online time
9:00 - 18:00

Contact Customer Service

扫一扫联系客服
telephone call 020-2206-9892
QQ contact 1025174874
Customer service mailbox info@361sale.com