RemoveCallback
Prev | PHPlot Function Reference | Next

## RemoveCallback

RemoveCallback — Unregisters any callback registered for the given reason

## Synopsis

    $plot->RemoveCallback($reason)

## Description

`RemoveCallback` unregisters any callback registered for the given reason. It undoes the effect of SetCallback.

## Parameters

`$reason`

  A PHPlot-defined name for the callback. See Section 4.4.3, “Available Callbacks”.

## Return Value

Returns True if the given reason is valid (whether or not there was actually a callback registered for it). Returns False if reason is not a valid callback reason.

## Notes

Refer to Section 4.4, “Callbacks” for more information on callbacks.

## History

This function and the callbacks implementation were added in PHPlot-5.0.4 as an experimental feature. Callbacks were first documented in this manual as of PHPlot-5.0.5 and are no longer considered experimental.

Prev | Up | Next
PrintImageFrame | Home | SetBackgroundColor