Commit 17d1c4e9 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

added site_content_pages function

parent 9bd8f033
......@@ -522,6 +522,14 @@ function plugin_types() {
return $pluginstocheck;
* Returns the list of site content pages
* @return array of names
function site_content_pages() {
return array('about','home','loggedouthome','privacy','termsandconditions','uploadcopyright');
* Helper to call a static method when you do not know the name of the class
* you want to call the method on. PHP5 does not support $class::method().
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment