WordPress.org

Ready to get started?Download WordPress

Forums

how to do add_action('admin_notices', $this->error->plugin_not()); right? (1 post)

  1. Tobias Jordans
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic