• Hi!

    How do I do this right:
    add_action(‘admin_notices’, $this->error->plugin_not());

    With $this->functionname() it would be easy:
    add_action(‘admin_notices’, array(&$this,’functionname’));

    But what do I do with my error-object?

    Thanks

  • The topic ‘how to do add_action(‘admin_notices’, $this->error->plugin_not()); right?’ is closed to new replies.