Checks whether a specific template tag handler is registered.
Description
See also
Parameters
- $slug
-
(string) (Required) Template tag handler slug.
Return
(bool) True if handler is registered, false otherwise.
Source
File: src/components/template-tag-handler-manager.php
public function exists( $slug ) { return isset( $this->handlers[ $slug ] ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |