add_action( ‘woocommerce_admin_order_data_after_billing_address’, ‘custom_customer_history_search_button_blue’, 10, 1 ); function custom_customer_history_search_button_blue( $order ) { // Vásárló e-mail címének lekérése $customer_email = $order->get_billing_email(); if ( $customer_email ) { // A keresési URL összeállítása $search_url = admin_url( ‘edit.php?s=’ . urlencode( $customer_email ) . ‘&post_type=shop_order’ );…Continue reading
Add Container Event TrackContinue reading
/** * Remove WC Vendors “Apply to become a vendor” checkbox from the WooCommerce default customer signup form. */ add_action( ‘init’, ‘wcv_remove_vendor_registration_checkbox’, 99 ); function wcv_remove_vendor_registration_checkbox() { global $wp_filter; $hook = ‘woocommerce_register_form’; if ( isset( $wp_filter[ $hook ] ) )…Continue reading
add_filter( ‘wpforms_geolocation_forms_field_get_map_field_settings’, ‘wpf_geolocation_forms_field_get_map_field_settings’, 10, 3 ); function wpf_geolocation_forms_field_get_map_field_settings( $settings, $field, $form_data ): array { $settings = (array) $settings; if ( empty( $form_data[‘id’] ) ) { return $settings; } if ( (int) $form_data[‘id’] !== 111 ) { // TODO: Change 111…Continue reading