Last active
November 4, 2020 14:44
-
-
Save bogdan-mainwp/a2b6a6339dcd5500a4ec8108cac1faa4 to your computer and use it in GitHub Desktop.
Custom code snippet for fixing the line break issue in reports.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add the following code snippet to the PHP section of the MainWP Custom Dashboard Extension | |
add_filter( 'mainwp_client_reports_newline_break', 'mycustom_client_reports_newline_break', 10, 1 ); | |
function mycustom_client_reports_newline_break( $value ){ | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment