Created
September 6, 2019 11:00
-
-
Save ospiotr/a4d8eb142eaceebb0c5e4e5530eab7e4 to your computer and use it in GitHub Desktop.
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
add_filter('wpdesk_allegro_before_wpautop', 'af109_wpdesk_allegro_before_wpautop' ); | |
function af109_wpdesk_allegro_before_wpautop( $content ) { | |
return str_replace( array("\r\n", "\r", "\n"), "\n\n", $content ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment