This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Input | Output | |
---|---|---|---|
Gemini 2.0 Flash-Lite | $0.075 | $0.30 | |
Mistral 3.1 Small | $0.10 | $0.30 | |
Gemini 2.0 Flash | $0.10 | $0.40 | |
ChatGPT 4.1-nano | $0.10 | $0.40 | |
DeepSeek v3 (old) | $0.14 | $0.28 | |
ChatGPT 4o-mini | $0.15 | $0.60 | |
Gemini 2.5 Flash | $0.15 | $0.60 | |
DeepSeek v3 | $0.27 | $1.10 | |
Grok 3-mini | $0.30 | $0.50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists('getOrderDetailById')) { | |
//to get full order details | |
function getOrderDetailById($id, $fields = null, $filter = array()) { | |
if (is_wp_error($id)) | |
return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Utility function to check if a gravatar exists for a given email or id | |
* @param int|string|object $id_or_email A user ID, email address, or comment object | |
* @return bool if the gravatar exists or not | |
*/ | |
function validate_gravatar($id_or_email) { | |
//id or email code borrowed from wp-includes/pluggable.php | |
$email = ''; |