Skip to content

Commit

Permalink
Fix .gitignore and README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Oct 3, 2021
1 parent 6b6bcef commit db4be0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
19 changes: 6 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
.DS_Store
.travis.yml
Thumbs.db
wp-cli.local.yml
node_modules
dist/**
bin/
tests/vendor
.idea/
vendor/
*.sql
*.tar.gz
*.zip

*.lock
/.phpunit.result.cache
/.phpcs.cache
.DS_Store
.phpcs.cache
.phpunit.result.cache
Thumbs.db
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WordPress Plugin Disable Plugins

Disable Plugins allows disabling unneeded plugins on certain urls/ajax/wp-cli/xml-rpc calls to improve site performance.
Disable Plugins allows disabling unneeded plugins on certain urls/ajax/wc-ajax/wp-cli/xml-rpc calls to improve site performance.

# Description

Expand Down Expand Up @@ -99,9 +99,9 @@ Filters to have the following structure
]
```

where `patterns` is an array of regular expressions to compare with page slug (for frontend filters), ajax action (for ajax filters), xml-rpc function (for xml-rpc filters) etc.
where `patterns` is an array of regular expressions to compare with page slug (for frontend filters), ajax or WooCommerce ajax action (for ajax filters), xml-rpc function (for xml-rpc filters) etc.

`locations` is an array of locations. Allowed locations are `frontend`, `backend`, `ajax`, `rest`, `cli`, `xml-rpc`. Functionality for rest location will be added in the nearest future.
`locations` is an array of locations. Allowed locations are `frontend`, `backend`, `ajax`, `rest`, `cli`, `xml-rpc`.

`disabled_plugins` can contain the list of plugins to disable.

Expand Down

0 comments on commit db4be0a

Please sign in to comment.