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 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 ); }