This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"babel-eslint": "^9.0.0", | |
"eslint": "^6.1.0", | |
"eslint-config-airbnb": "^18.0.0", | |
"eslint-config-prettier": "^4.1.0", | |
"eslint-plugin-html": "^5.0.3", | |
"eslint-plugin-import": "^2.18.0", | |
"eslint-plugin-jsx-a11y": "^6.2.3", | |
"eslint-plugin-prettier": "^3.0.1", | |
"eslint-plugin-react": "^7.14.2", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function filter_give_enabled_payment_gateways($gateways, $formId){ | |
if (!current_user_can('manage_options')) { | |
return array_filter($gateways, function($gateway){ | |
return $gateway !== 'gatewayId'; | |
}, ARRAY_FILTER_USE_KEY); | |
} | |
return $gateways; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bmewburn.vscode-intelephense-client | |
bradlc.vscode-tailwindcss | |
calebporzio.better-phpunit | |
cmstead.js-codeformer | |
dbaeumer.vscode-eslint | |
dsznajder.es7-react-js-snippets | |
eamodio.gitlens | |
esbenp.prettier-vscode | |
formulahendry.auto-close-tag | |
github.vscode-github-actions |
OlderNewer