Solar_Markdown_Wiki_Link::setCheckPagesCallback()
public
array
Solar_Markdown_Wiki_Link::setCheckPagesCallback
( callback $callback
)
Sets the callback to check if pages exist.
Parameters
(callback)
$callback
: The callback to check if pages exist.
Returns
(array) An array of which pages exist and which don't.
Description
Sets the callback to check if pages exist.
The callback has to take exactly one parameter, an array keyed on page names, with the value being true or false. It should return a similar array, saying whether or not each page in the array exists.
If left empty, the plugin will assume all links exist.