1 |
efrain |
1 |
This files describes API changes in the tool_usertours code.
|
|
|
2 |
|
|
|
3 |
=== 4.4 ===
|
|
|
4 |
* New hooks have been provided to allow plugins to define their own server-side, and client-side user tour filters.
|
|
|
5 |
The new hooks are named:
|
|
|
6 |
- \tool_usertours\hook\before_serverside_filter_fetch
|
|
|
7 |
- \tool_usertours\hook\before_clientside_filter_fetch
|
|
|
8 |
These hooks allow addition, and removal, of filters.
|
|
|
9 |
|
|
|
10 |
=== 4.0 ===
|
|
|
11 |
* The `tourconfig` property returned by the `tool_usertours_fetch_and_start_tour`
|
|
|
12 |
external method has also an `endtourlabel` property that contains the label to be used
|
|
|
13 |
for the end tour button.
|
|
|
14 |
|
|
|
15 |
=== 3.9 ===
|
|
|
16 |
* The `tourconfig` property returned by the `tool_usertours_fetch_and_start_tour`
|
|
|
17 |
external method is now optional, and will be omitted if the tour shouldn't be
|
|
|
18 |
shown to the current user
|
|
|
19 |
|
|
|
20 |
=== 3.5 ===
|
|
|
21 |
* Third party library Popper.js was moved from this plugin into core (core/popper)
|