WordPress.org

Support

Support » Plugins and Hacks » how to do add_action(‘admin_notices’, $this->error->plugin_not()); right?

how to do add_action(‘admin_notices’, $this->error->plugin_not()); right?

  • 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.