Forums

delivery error messages to the user (1 post)

  1. NomikOS
    Member
    Posted 2 years ago #

    Often it is necessary delivery error messages to the user. Always is something like:

    if ( ! $user1[1] || ! $user2[1])
    {
        echo "User's data missing.";
        return;
    }

    But this can cause problems when is output before headers. Is there WP function to do this cleaner?

    Thanks.-

Topic Closed

This topic has been closed to new replies.

About this Topic