WP_Hook::offsetSet( $offset,  $value )


Source

File: wp-includes/class-wp-hook.php. View all references

public function offsetSet( $offset, $value ) {
	if ( is_null( $offset ) ) {
		$this->callbacks[] = $value;
	} else {
		$this->callbacks[ $offset ] = $value;
	}
}

Top ↑

User Contributed Notes

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