wpcf7_autop_or_not()CF7 1.0

Returns true if wpcf7_autop() is applied.

Хуки из функции

Возвращает

null. Ничего (null).

Использование

wpcf7_autop_or_not( $options );
$options **
-
По умолчанию: ''

Код wpcf7_autop_or_not() CF7 5.9.3

function wpcf7_autop_or_not( $options = '' ) {
	$options = wp_parse_args( $options, array(
		'for' => 'form',
	) );

	return (bool) apply_filters( 'wpcf7_autop_or_not', WPCF7_AUTOP, $options );
}