WonderCMS 3.0.0
Posted: Wed Jul 10, 2019 4:56 pm
Hey all,
How would I go and use the new WonderCMS 3.0.0 addListener?
Is the following according to spec?
How would I go and use the new WonderCMS 3.0.0 addListener?
Is the following according to spec?
Code: Select all
<?php
global $Wcms;
function addcss($args) {
$args[0] .= "Nice!";
return $args;
};
$Wcms->addListener('css', 'addcss');