Template_Tag_Handler_Manager::exists( string $slug )

Checks whether a specific template tag handler is registered.

Description

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

Changelog
Version Description
1.0.0 Introduced.