Skip to content

PluginDataHandler.getDataFilePath method

PluginDataHandler › getDataFilePath

Gets the path of the plugin's data.json, as Obsidian's Plugin.loadData reads it.

Signature:

getDataFilePath(): null | string

Returns: null | string — The path, or null when the manifest has no folder.