WPCF7_SWV_FileRule::matches()
Метод класса: WPCF7_SWV_FileRule{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WPCF7_SWV_FileRule = new WPCF7_SWV_FileRule(); $WPCF7_SWV_FileRule->matches( $context );
- $context (обязательный)
- -
Код WPCF7_SWV_FileRule::matches() WPCF7 SWV FileRule::matches CF7 5.7.4
public function matches( $context ) { if ( false === parent::matches( $context ) ) { return false; } if ( empty( $context['file'] ) ) { return false; } return true; }