https://github.com/sir-daniel/st2-wc-completions-builder
Builds the auto completions files for the ST2 WooCommerce plugin
https://github.com/sir-daniel/st2-wc-completions-builder
Last synced: 4 months ago
JSON representation
Builds the auto completions files for the ST2 WooCommerce plugin
- Host: GitHub
- URL: https://github.com/sir-daniel/st2-wc-completions-builder
- Owner: SiR-DanieL
- Created: 2015-03-09T15:24:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-09T15:49:25.000Z (about 10 years ago)
- Last Synced: 2024-10-19T14:25:40.979Z (8 months ago)
- Language: PHP
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# st2-wc-completions-builder
Builds the auto completions files for the ST2 WooCommerce plugin**This plugin is not intended for public usage. It's written only for specific systems and WP build so please, do not use it if you do not know what you are doing.**
### Usage
* Open your project in ST2
* Open the functions files in `woocommerce/includes/` (do not open class files, only functions files
* Click `CTRL` + `SHIFT` + `F` and enable the regular expression search.
* Write `function` in the search field
* Write `` in the path field
* Copy the search results and paste them in the `functions.txt` file
* Again search for `do_action` but in all the files in `woocommerce`
* Copy and paste in `actions.txt`
* Again search for `apply_filters` in all the files in `woocommerce`
* Copy and paste in `filters.txt`
* Activate the plugin in your WP installation
* Disable the plugin
* Check the files in the path `formatted_files/` inside this plugin and open the file `functions.sublime-completions`
* Be sure that the last function does not have a comma at the end of the line, if yes, remove it
* Do the same for the file `hooks.sublime-completions`