���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-content/plugins/wpforms-lite/src/Integrations/PayPalCommerce/Admin/Entries.php
���ѧ٧ѧ�
<?php namespace WPForms\Integrations\PayPalCommerce\Admin; use WPForms\Integrations\PayPalCommerce\Helpers; /** * PayPal Commerce admin entries. * * @since 1.10.0 */ class Entries { /** * Register hooks. * * @since 1.10.0 */ public function hooks(): void { add_filter( 'wpforms_has_payment_gateway', [ $this, 'has_payment_gateway' ], 10, 2 ); } /** * Make PayPal Commerce payment gateway work on the Entries page. * * @since 1.10.0 * * @param bool $result Initial value. * @param array $form_data Form data and settings. * * @return bool * * @noinspection PhpMissingParamTypeInspection */ public function has_payment_gateway( $result, array $form_data ): bool { if ( $result ) { return (bool) $result; } return Helpers::is_paypal_commerce_enabled( $form_data ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�