Skip to content

Commit

Permalink
Add search hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Aug 31, 2017
1 parent d42abbc commit e3bd35e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/plugins/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -444,3 +444,9 @@ Some hooks are automated; they'll be called if the relevant function exists in y
)
Is expected to return the input array modified.

``getAddSearchOptions``
Adds :ref:`search options <search_options>`, using "old" method. Will receive item type as string, is expected to return an array of search options.

``getAddSearchOptionsNew``
Adds :ref:`search options <search_options>`, using "new" method. Will receive item type as string, is expected to return an **indexed** array of search options.

0 comments on commit e3bd35e

Please sign in to comment.