'; esc_html_e( 'Modulary Export requires WooCommerce to be installed and active.', 'modulary-export' ); echo '

'; } /** * Whether the current screen and user get the notice. */ public static function visible(): bool { $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null; return null !== $screen && 'plugins' === $screen->id && current_user_can( 'activate_plugins' ); } }