We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pages()
1 parent c27127d commit 71f0893Copy full SHA for 71f0893
src/Utils.php
@@ -25,6 +25,15 @@ public static function wire($name='wire')
25
return \ProcessWire\wire($name);
26
}
27
28
+ /**
29
+ * Shorcut for wire('pages')
30
+ * @return \ProcessWire\Pages The ProcessWire $pages API variable.
31
+ */
32
+ public static function pages()
33
+ {
34
+ return self::wire('pages');
35
+ }
36
+
37
/**
38
* Shortcut for wire('user')
39
* @return \ProcessWire\User The ProcessWire $user API variable.
0 commit comments