WP_Hook::valid

Advertisement

Summery Summery

Checks if current position is valid.

Syntax Syntax

WP_Hook::valid()

Return Return

(boolean)

Source Source

File: wp-includes/class-wp-hook.php

	public function valid() {
		return key( $this->callbacks ) !== null;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply