From 2fa7b340dea0077c58aa3b478f5c8088bfa6e536 Mon Sep 17 00:00:00 2001 From: Mauko Maunde Date: Tue, 14 Jun 2022 01:00:56 +0200 Subject: [PATCH] Create selcom.wp.php --- selcom.wp.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 selcom.wp.php diff --git a/selcom.wp.php b/selcom.wp.php new file mode 100644 index 0000000..309a91f --- /dev/null +++ b/selcom.wp.php @@ -0,0 +1,29 @@ + array_merge($gateways, ['WC_Gateway_Selcom']), 10, 1 ); +add_filter( + 'plugin_row_meta', fn ($links, $file) => $file == plugin_basename(__FILE__) + ? array_merge($links, ['' . __('API Docs') . '']) + : $links +, 10, 2);