hPreBrowse

This hook allows plugins to modify the behaviour of the taxonomy browser, accessed by the user by clicking BROWSE at the top of any page.

Arguments

This hook does not take any arguments.

Response

Return information by changing these properties of the response object.

Name Type Description
includeTypeRoot boolean Whether the type root should be included.

JavaScript template


P.hook('hPreBrowse', function(response) {
    // Respond to hook, for example
    // response.includeTypeRoot = ...
});