Hello,
just a quick question about add_action() inside of classes:
The use is like this:
add_action('init', array(&$this, 'whatever_function') );
But when you need to submit some more parameters like outside of classes:
add_action('wp_head', 'some_function', 1, 10) (for example onyl)
How do you do that inside a class? Like this:
add_action('wp_head', array(&$this, 'some_function',), 1, 10 );
?
Thanx in advance