Файловый менеджер - Редактировать - /home/goldin10/public_html/wp-content/plugins-BAK/woocommerce/admin/settings/settings-payment-gateways.php
Error occurred
Назад
<?php /** * Additional payment gateway settings * * @author WooThemes * @category Admin * @package WooCommerce/Admin/Settings * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /** * Output payment gateway settings. * * @access public * @return void */ function woocommerce_payment_gateways_setting() { global $woocommerce; ?> <tr valign="top"> <td class="forminp" colspan="2"> <table class="wc_gateways widefat" cellspacing="0"> <thead> <tr> <th width="1%"><?php _e( 'Default', 'woocommerce' ); ?></th> <th><?php _e( 'Gateway', 'woocommerce' ); ?></th> <th><?php _e( 'Status', 'woocommerce' ); ?></th> </tr> </thead> <tbody> <?php foreach ( $woocommerce->payment_gateways->payment_gateways() as $gateway ) : $default_gateway = get_option('woocommerce_default_gateway'); echo '<tr> <td width="1%" class="radio"> <input type="radio" name="default_gateway" value="' . esc_attr( $gateway->id ) . '" ' . checked( $default_gateway, esc_attr( $gateway->id ), false ) . ' /> <input type="hidden" name="gateway_order[]" value="' . esc_attr( $gateway->id ) . '" /> </td> <td> <p><strong>' . $gateway->get_title() . '</strong><br/> <small>' . __( 'Gateway ID', 'woocommerce' ) . ': ' . esc_html( $gateway->id ) . '</small></p> </td> <td>'; if ( $gateway->enabled == 'yes' ) echo '<img src="' . $woocommerce->plugin_url() . '/assets/images/success@2x.png" width="16" height="14" alt="yes" />'; else echo '<img src="' . $woocommerce->plugin_url() . '/assets/images/success-off@2x.png" width="16" height="14" alt="no" />'; echo '</td> </tr>'; endforeach; ?> </tbody> </table> </td> </tr> <?php } add_action( 'woocommerce_admin_field_payment_gateways', 'woocommerce_payment_gateways_setting' );
| ver. 1.4 |
Github
|
.
| PHP 7.2.34 | Генерация страницы: 0.06 |
proxy
|
phpinfo
|
Настройка