PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
woocommerce-services
/
classes
<?php if ( ! class_exists( 'WC_Connect_Settings_Pages' ) ) { class WC_Connect_Settings_Pages { /** * @array */ protected $fieldsets; public function __construct() { $this->id = 'connect'; $this->label = _x( 'WooCommerce Services', 'The WooCommerce Services brandname', 'woocommerce-services' ); add_filter( 'woocommerce_get_sections_shipping', array( $this, 'get_sections' ), 30 ); add_action( 'woocommerce_settings_shipping', array( $this, 'output_settings_screen' ), 5 ); } /** * Get sections. * * @return array */ public function get_sections( $shipping_tabs ) { if ( ! is_array( $shipping_tabs ) ) { $shipping_tabs = array(); } $shipping_tabs[ 'woocommerce-services-settings' ] = __( 'WooCommerce Services', 'woocommerce-services' ); return $shipping_tabs; } /** * Output the settings. */ public function output_settings_screen() { global $current_section; if ( 'woocommerce-services-settings' !== $current_section ) { return; } add_filter( 'woocommerce_get_settings_shipping', '__return_empty_array' ); $this->output_shipping_settings_screen(); } /** * Localizes the bootstrap, enqueues the script and styles for the settings page */ public function output_shipping_settings_screen() { // hiding the save button because the react container has its own global $hide_save_button; $hide_save_button = true; if ( WC_Connect_Jetpack::is_development_mode() ) { if ( WC_Connect_Jetpack::is_active() ) { $message = __( 'Note: Jetpack is connected, but development mode is also enabled on this site. Please disable development mode.', 'woocommerce-services' ); } else { $message = __( 'Note: Jetpack development mode is enabled on this site. This site will not be able to obtain payment methods from WooCommerce Services production servers.', 'woocommerce-services' ); } ?> <div class="wc-connect-admin-dev-notice"> <p> <?php echo esc_html( $message ); ?> </p> </div> <?php } $extra_args = array(); if ( isset( $_GET['from_order'] ) ) { $extra_args['order_id'] = $_GET['from_order']; $extra_args['order_href'] = get_edit_post_link( $_GET['from_order'] ); } do_action( 'enqueue_wc_connect_script', 'wc-connect-shipping-settings', $extra_args ); } } }
[+]
..
[-] class-wc-connect-payment-gateway.php
[edit]
[-] class-wc-connect-shipping-method.php
[edit]
[-] class-wc-connect-api-client.php
[edit]
[-] class-wc-connect-privacy.php
[edit]
[-] class-wc-rest-connect-base-controller.php
[edit]
[-] class-wc-rest-connect-stripe-deauthorize-controller.php
[edit]
[-] class-wc-rest-connect-stripe-account-controller.php
[edit]
[-] class-wc-rest-connect-shipping-label-print-controller.php
[edit]
[-] class-wc-connect-nux.php
[edit]
[-] class-wc-rest-connect-shipping-label-controller.php
[edit]
[-] class-wc-connect-taxjar-integration.php
[edit]
[-] class-wc-rest-connect-stripe-oauth-connect-controller.php
[edit]
[-] class-wc-rest-connect-address-normalization-controller.php
[edit]
[-] class-wc-connect-label-reports.php
[edit]
[+]
wc-api-dev
[-] class-wc-connect-functions.php
[edit]
[-] class-wc-rest-connect-stripe-oauth-init-controller.php
[edit]
[-] class-wc-rest-connect-self-help-controller.php
[edit]
[-] class-wc-rest-connect-packages-controller.php
[edit]
[-] class-wc-connect-debug-tools.php
[edit]
[-] class-wc-connect-compatibility.php
[edit]
[-] class-wc-connect-options.php
[edit]
[-] class-wc-connect-shipping-label.php
[edit]
[-] class-wc-rest-connect-shipping-label-refund-controller.php
[edit]
[-] class-wc-connect-service-settings-store.php
[edit]
[-] class-wc-connect-api-client-live.php
[edit]
[-] class-wc-connect-compatibility-wc30.php
[edit]
[-] .classes.php
[edit]
[-] class-wc-connect-jetpack.php
[edit]
[-] class-wc-connect-help-view.php
[edit]
[-] class-wc-rest-connect-account-settings-controller.php
[edit]
[-] class-wc-connect-logger.php
[edit]
[-] class-wc-rest-connect-assets-controller.php
[edit]
[-] class-wc-rest-connect-services-controller.php
[edit]
[-] class-wc-connect-stripe.php
[edit]
[-] class-wc-connect-compatibility-wc26.php
[edit]
[-] class-wc-connect-service-schemas-validator.php
[edit]
[-] class-wc-rest-connect-shipping-label-status-controller.php
[edit]
[-] class-wc-connect-extension-compatibility.php
[edit]
[-] class-wc-rest-connect-shipping-rates-controller.php
[edit]
[-] class-wc-connect-error-notice.php
[edit]
[-] class-wc-connect-service-schemas-store.php
[edit]
[-] class-wc-connect-settings-pages.php
[edit]
[-] class-wc-rest-connect-tos-controller.php
[edit]
[-] class-wc-rest-connect-shipping-label-preview-controller.php
[edit]
[-] class-wc-connect-paypal-ec.php
[edit]
[-] class-wc-connect-tracks.php
[edit]
[-] class-wc-connect-payment-methods-store.php
[edit]