Gets a registered template tag handler.
Description
See also
Parameters
- $slug
-
(string) (Required) Template tag handler slug.
Return
(awsmug\Torro_Forms\Components\Template_Tag_Handler|null) Template tag handler, or null if not registered.
Source
File: src/components/template-tag-handler-manager.php
public function get( $slug ) { if ( ! $this->exists( $slug ) ) { return null; } return $this->handlers[ $slug ]; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |