1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00
This commit is contained in:
Ryan Cramer
2022-03-18 08:36:44 -04:00
parent f66b2f2df8
commit 83019b173b

View File

@@ -2867,7 +2867,7 @@ class Page extends WireData implements \Countable, WireMatchable {
* #pw-group-manipulation
*
* @param bool $recursive If set to true, then this will attempt to delete all children too.
* @return bool True on success, false on failure.
* @return bool|int True on success, false on failure, or int quantity of pages deleted when recursive option is true.
* @throws WireException when attempting to delete a page with children and $recursive option is not specified.
* @see Pages::delete()
*