wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



_filter_block_content_callback › WordPress Function

Od6.2.1
Przestarzałyn/a
_filter_block_content_callback ( $matches )
Dostęp:
  • private
Parametry:
  • (array) $matches Array of preg_replace_callback matches.
    Wymagane: Tak
Powrót:
  • (string) Replacement string.
Zdefiniowane na:
Codex:

Callback used for regular expression replacement in filter_block_content().



Źródło

function _filter_block_content_callback( $matches ) {
	return '<!--' . rtrim( $matches[1], '-' ) . '-->';
}