wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:316Determines whether a sanitized value is, or contains, a WP_Error.
$valuemixedbool private function input_contains_error( $value ): bool { if ( is_wp_error( $value ) ) { return true; } if ( is_array( $value ) ) { foreach ( $value as $item ) { if ( $this->input_contains_error( $item ) ) { return true; } } } return false; }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.