📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 10:20:13
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
plugins
/
contact-form-7
/
includes
/
swv
/
php
/
rules
✏️
Editing: any.php
<?php namespace Contactable\SWV; class AnyRule extends CompositeRule { const rule_name = 'any'; public function matches( $context ) { if ( false === parent::matches( $context ) ) { return false; } return true; } public function validate( $context ) { foreach ( $this->rules() as $rule ) { if ( $rule->matches( $context ) ) { $result = $rule->validate( $context ); if ( ! is_wp_error( $result ) ) { return true; } } } return $this->create_error(); } }
💾 Save Changes
❌ Cancel