Removes an existing template tag group.
Description
See also
Parameters
- $slug
-
(string) (Required) Group slug.
Return
(bool) True on success, false on failure.
Source
File: src/components/template-tag-handler.php
public function remove_group( $slug ) { if ( ! isset( $this->groups[ $slug ] ) ) { return false; } unset( $this->groups[ $slug ] ); return true; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |