Un motore di ricerca WordPress per sviluppatori e autori di temi



_cleanup_image_add_caption ›

Da3.4.0
Deprecaton/a
_cleanup_image_add_caption ( $matches )
Accedi:
  • private
Definito a:
Codex:

Private preg_replace callback used in image_add_caption()



Sorgenti

function _cleanup_image_add_caption( $matches ) {
	// Remove any line breaks from inside the tags.
	return preg_replace( '/[\r\n\t]+/', ' ', $matches[0] );
}