diff --git a/mkdocs_macros/plugin.py b/mkdocs_macros/plugin.py
index <HASH>..<HASH> 100644
--- a/mkdocs_macros/plugin.py
+++ b/mkdocs_macros/plugin.py
@@ -296,7 +296,7 @@ class MacrosPlugin(BasePlugin):
 
         The python module must contain the following hook:
 
-        declare_env(env):
+        define_env(env):
             "Declare environment for jinja2 templates for markdown"
 
             env.variables['a'] = 5
@@ -588,4 +588,4 @@ class MacrosPlugin(BasePlugin):
         """
         # exeute the functions in the various modules
         for func in self.post_build_functions:
-            func(self)
\ No newline at end of file
+            func(self)
Fixed docstring. Function actually expects define_env, not declare_env.