Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_autop_newline_preservation_helper [ WordPress Function ]

_autop_newline_preservation_helper ( $matches )
Access:
  • private
Parameters:
  • (array) $matches preg_replace_callback matches array
Defined at:



Newline preservation help function for wpautop

Source


<?php
function _autop_newline_preservation_helper$matches ) {
    return 
str_replace("\n""<WPPreserveNewline />"$matches[0]);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics