Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @mayy3321,

    I hope you are keeping well and thank you for reaching out to us.

    Currently, Broken Link Checker does not offer an option to ignore notification emails if no broken links are found. I’ve raised this issue with our developers to explore possibilities for further enhancements in this regard.

    Kind Regards,
    Nebu John

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @mayy3321,

    Please take our apologies for the delayed reply. Could you please try adding the following snippet:

    <?php
    add_filter(
    	'wpmudev_blc_can_send_scan_report',
    	function( $can_send, $recipients, $broken_links_count, $blc_scan_report_model ) {
    		if ( 0 >= intval( $broken_links_count ) ) {
    			$can_send = false;
    		}
    
    		return $can_send;
    	},
    	10,
    	4
    );

    – save it as a PHP file in your text editor, for example: blc-skip-zero-reports.php, and upload it to /wp-content/mu-plugins/ directory on the server, in order for it to run as a must use plugin.

    Hope this helps. Let us know if you have any questions!

    Best Regards,
    Dmytro

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mayy3321 ,

    It looks like my colleague’s code helped solve your issue as we haven’t heard back from you for some time now.
    I will resolve this topic, but if you have more questions feel free to re-open it.

    kind regards,
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Turn off reports when there are no errors’ is closed to new replies.