Returns if a matched tag contains the given ASCII case-insensitive class name.
Parameters
$wanted_classstringrequired- Look for this CSS class name, ASCII case-insensitive.
Source
public function has_class( $wanted_class ): ?bool {
return $this->is_virtual() ? null : parent::has_class( $wanted_class );
}
Changelog
| Version | Description |
|---|---|
| 6.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.