wpcf7_autop_or_not()
Returns true if wpcf7_autop() is applied.
Хуки из функции
Возвращает
null. Ничего (null).
Использование
wpcf7_autop_or_not( $options );
- $options
- .
По умолчанию:''
Код wpcf7_autop_or_not() wpcf7 autop or not CF7 6.1.6
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 );
}