Skip to content

Commit de8e97a

Browse files
Update flush-css.md (#285)
1 parent 202e793 commit de8e97a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/cli/flush-css.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@
22

33
<Badge type="tip" vertical="top" text="Elementor Core" /> <Badge type="warning" vertical="top" text="Advanced" />
44

5-
Styles set in Elementor are saved in the database, this information is used to generate CSS files in the `uploads` folder. Elementor CLI `flush CSS` command will flush all the CSS files in cache and recreate them using the most recent settings stored in the database.
5+
Styles set in Elementor are saved in the database, this information is used to generate CSS files in `/wp-content/uploads/elementor/css/` folder. Elementor CLI `flush-css` command will delete all the cached CSS files and recreate them using the most recent settings stored in the database.
66

77
## Command
88

99
```bash
10-
wp elementor flush-css [--network]
10+
wp elementor flush-css [--regenerate] [--network]
1111
```
1212

1313
## Arguments
1414

15-
`[--network]`
15+
`[--regenerate]`
1616

17-
_(Optional)_ Flush CSS files for all the sites in the network.
17+
_(Optional)_ Re-create the CSS files. Otherwise, updated CSS files will be created by Elementor on the next page visit.
1818

19-
`[--regenerate]`
19+
`[--network]`
2020

21-
_(Optional)_ Re-create the CSS files. Otherwise they will be created by a page visit.
21+
_(Optional)_ Flush CSS files for all the sites in the network.
2222

2323
## Usage Examples
2424

2525
```bash
2626
wp elementor flush-css
2727
```
2828

29-
This command will flush the CSS files for all Elementor pages.
29+
This command will flush the CSS files for all Elementor pages. It doesn't create new CSS files, only flush the old files.
3030

3131
```bash
32-
wp elementor flush-css --network
32+
wp elementor flush-css --regenerate
3333
```
3434

35-
This command will flush the CSS files for all Elementor pages in all the sites in the network.
35+
This command will flush the CSS files for all Elementor pages and re-create the new CSS files.
3636

3737
```bash
38-
wp elementor flush-css --regenerate
38+
wp elementor flush-css --network
3939
```
4040

41-
This command will flush the CSS files for elementor page builder and re-create the new CSS files.
41+
This command will flush the CSS files for all Elementor pages in all the sites in the network.

0 commit comments

Comments
 (0)