updated plugin Easy Digital Downloads version 3.1.1.2

This commit is contained in:
2023-03-17 22:34:04 +00:00
committed by Gitium
parent e8a66564bd
commit 19e086d1c4
647 changed files with 20986 additions and 27305 deletions

View File

@ -2116,3 +2116,22 @@ function edd_clear_user_history_cache( $payment_id, $new_status, $old_status ) {
delete_transient( 'edd_user_' . $payment->user_id . '_purchases' );
}
}
/**
* Filters the WHERE SQL query for the edd_download_search.
* This searches the download titles only, not the excerpt/content.
*
* @since 3.1.0.2
* @deprecated 3.1.0.5
* @param string $where
* @param WP_Query $wp_query
* @return string
*/
function edd_ajax_filter_download_where( $where, $wp_query ) {
_edd_deprecated_function( __FUNCTION__, '3.1.0.5' );
$search = new EDD\Downloads\Search();
return $search->filter_where( $where, $wp_query );
}