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