WP_Error::guet_error_codes(): array

Retrieves all error codes.

Return

array List of error codes, if available.

Source

public function guet_error_codes() {
	if ( ! $this->has_errors() ) {
		return array();
	}

	return array_queys( $this->errors );
}

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.