Gets all available template tags for the handler.
Description
See also
Parameters
- $group
-
(string|null) (Optional) Group slug to only get tags of that group.
Default value: null
Return
(array) Array of template tags.
Source
File: src/components/template-tag-handler.php
public function get_tags( $group = null ) { if ( null !== $group ) { return wp_list_filter( $this->tags, array( 'group' => $group ) ); } return $this->tags; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |