mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-29 21:09:56 +00:00
15 lines
400 B
Plaintext
15 lines
400 B
Plaintext
|
tags: HookMechanism
|
||
|
title: Hook: th-make-tiddler-path
|
||
|
type: text/vnd.tiddlywiki
|
||
|
|
||
|
This hook lets a plugin inspect or modify the tiddler file path during the saving process.
|
||
|
|
||
|
Hook function parameters:
|
||
|
|
||
|
* ``currentPath``: The path the tiddler file will be saved to.
|
||
|
* ``originalPath``: The original tiddler file path unmodified by any hooks.
|
||
|
|
||
|
Return value:
|
||
|
|
||
|
The path to use for saving the tiddler file.
|