Skip to content

Instantly share code, notes, and snippets.

View WP Desk Allegro WooCommerce - <p> w opisie aukcji
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 );
}