Skip to content

Commit 8f6d232

Browse files
author
Ariel Jolo
committed
Clean up
1 parent d880f27 commit 8f6d232

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

themes/osi/functions.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -426,15 +426,9 @@ function osi_wpdc_comment_body( string $comment_body ) {
426426
}
427427
add_filter( 'wpdc_comment_body', 'osi_wpdc_comment_body', 10, 1 );
428428

429-
430-
// trying to get an idea of what errors are happening
431-
// ini_set('display_errors', 1); // Enable error display
432-
// add_filter('wpcf7_debug', '__return_true');
433-
// error_reporting(E_ALL); // Report all PHP errors
434-
435429
/**
436430
*
437-
* Create a new Supporter in ACF, based on Contact Forms 7.
431+
* Create a new Supporter in ACF, based on a Contact Forms 7 submission.
438432
*
439433
*/
440434
add_action('wpcf7_before_send_mail', 'save_form_data_to_cpt');

0 commit comments

Comments
 (0)