• Profile photo of Caius

      Caius posted an update

      7 months ago

      I need my WordPress plugin to only activate if specific plugins, such as WooCommerce, are already active. Additionally, I want to display a custom admin notice in the plugin row if the required plugin is not active.

      I tried using the plugin_row_meta hook, but it only works when the plugin is already activated. It doesn’t handle admin notices correctly, and my plugin can still be activated even if the required plugins are missing.

      I’ve been searching for a clear solution but haven’t found one yet. Since I’m not very experienced with WordPress, I would appreciate any guidance or code examples.

      Thank you for your help!

      Mitchell
      0 Comments