Skip to content

Commit b153252

Browse files
Regenerate README file (#605)
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
1 parent d622659 commit b153252

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5217,17 +5217,18 @@ wp site delete [<site-id>] [--slug=<slug>] [--yes] [--keep-tables]
52175217

52185218
### wp site empty
52195219

5220-
Empties a site of its content (posts, comments, terms, and meta).
5220+
Empties a site of its content (posts, comments, terms, links, and meta).
52215221

52225222
~~~
52235223
wp site empty [--uploads] [--yes]
52245224
~~~
52255225

5226-
Truncates posts, comments, and terms tables to empty a site of its
5226+
Truncates posts, comments, terms, and links tables to empty a site of its
52275227
content. Doesn't affect site configuration (options) or users.
52285228

5229-
If running a persistent object cache, make sure to flush the cache
5230-
after emptying the site, as the cache values will be invalid otherwise.
5229+
Flushes the object cache after emptying the site to ensure stale data
5230+
is not served. On a Multisite installation, this will flush the cache
5231+
for all sites.
52315232

52325233
To also empty custom database tables, you'll need to hook into command
52335234
execution:

0 commit comments

Comments
 (0)