← All changes
|
includes/admin/tools/class-charitable-tools-system-info.php
+12
-0
1.8.11.3
→
1.8.13
View file →
| @@ -356,8 +356,20 @@ | ||
| 356 | 356 | $data .= $this->donation_error_logs(); |
| 357 | 357 | $data .= $this->debug_log_scanner(); |
| 358 | 358 | $data .= $this->hosting_environment_info(); |
| 359 | 359 | |
| 360 | + /** | |
| 361 | + * Append extra System Info sections. | |
| 362 | + * | |
| 363 | + * Applied here, before the end marker, so a section cannot land | |
| 364 | + * outside the block a customer copies out of the textarea. | |
| 365 | + * | |
| 366 | + * @since 1.8.13 | |
| 367 | + * | |
| 368 | + * @param string $sections Extra sections, already formatted. | |
| 369 | + */ | |
| 370 | + $data .= apply_filters( 'charitable_system_info_sections', '' ); | |
| 371 | + | |
| 360 | 372 | $data .= "\n" . '### End System Info ###'; |
| 361 | 373 | |
| 362 | 374 | return $data; |
| 363 | 375 | } |