In WordPress, you can use all methods from the framework agnostic version.
Additionally, you can use these following WordPress specific methods.
You can display all queries that are executed by calling
$result = $wpdb->get_results( "SELECT * FROM wp_usermeta WHERE meta_key = 'points' AND user_id = '1'");
To stop showing queries, call
To show all mails sent in Ray call
wp_mail('firstname.lastname@example.org', 'my subject', 'the content');
To stop showing mail, call
Enabling / disabling Ray
You can enable and disable sending stuff to Ray with the
By default, Ray is disabled in production environments. If you want to use Ray in a production environment, you must explicitly enable it with