WPCF7_Mail::replace_tags
Replaces mail-tags within the given text.
Метод класса: WPCF7_Mail{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPCF7_Mail = new WPCF7_Mail(); $WPCF7_Mail->replace_tags( $content, $options );
- $content(обязательный)
- .
- $options
- .
По умолчанию:''
Код WPCF7_Mail::replace_tags() WPCF7 Mail::replace tags CF7 6.1.4
public function replace_tags( $content, $options = '' ) {
if ( true === $options ) {
$options = array( 'html' => true );
}
$options = wp_parse_args( $options, array(
'html' => false,
'exclude_blank' => false,
) );
return wpcf7_mail_replace_tags( $content, $options );
}