summaryrefslogtreecommitdiff
path: root/editor-for-timber.php
diff options
context:
space:
mode:
Diffstat (limited to 'editor-for-timber.php')
-rw-r--r--editor-for-timber.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor-for-timber.php b/editor-for-timber.php
index 1dea60c..5900160 100644
--- a/editor-for-timber.php
+++ b/editor-for-timber.php
@@ -14,3 +14,7 @@ add_action('plugins_loaded', 'timberEditor');
function timberEditor() {
new \TimberEditor\TimberEditor();
}
+
+function timberEditorAssetsUrl($path) {
+ return plugins_url("assets/$path", __FILE__);
+}