Skip to content

Commit 8b45d7e

Browse files
drzrafCopilot
andauthored
Update src/WP_CLI/SearchReplacer.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cf89ef5 commit 8b45d7e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/WP_CLI/SearchReplacer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ class SearchReplacer {
5858
private $max_recursion;
5959

6060
/**
61-
* @var bool
61+
* @var callable|string|bool Callback function or method to be invoked during search/replace operations.
62+
* If set to a callable or a string (function name), this will be called for each replacement.
63+
* If false, no callback is used.
6264
*/
6365
private $callback;
6466

0 commit comments

Comments
 (0)