Template_Tag_Handler::get_tags( string|null $group = null )

Gets all available template tags for the handler.

Description

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

Changelog
Version Description
1.0.0 Introduced.