WP_Error handles errors, but how can I show success with a message?

you could test for the absence of an error and then display a success message

if(!is_wp_error( $thing )) echo "yay!!";

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)