WP_Hook::offsetExists( mixed $offset )

Determines whether an offset value exists.

Parameters Parameters


(mixed) (Required) An offset to check for.

Top ↑

Return Return

(bool) True if the offset exists, false otherwise.

Top ↑

Source Source

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

	public function offsetExists( $offset ) {
		return isset( $this->callbacks[ $offset ] );

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.