[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

oik-weightcountry-shipping.php


Lines:
1 to 61 of 61
<?php

/**
 * Plugin Name: oik Weight/Country Shipping
 * Plugin URI: https://www.oik-plugins.com/oik-plugins/oik-weightcountry-shipping
 * Description: WooCommerce extension for Weight/Country shipping. No longer supported. Please switch to oik-weight-zone-shipping.
 * Version: 1.4.1
 * Author: bobbingwide
 * Author URI: https://www.oik-plugins.com/author/bobbingwide
 * License: GPL2
 * Text Domain: oik-weightcountry-shipping
 * Domain Path: /languages/
 
    Copyright Bobbing Wide 2014-2022 ( email : herb@bobbingwide.com )
    Copyright 2012 andyswebdesign.ie 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    The license for this software can likely be found here:
    http://www.gnu.org/licenses/gpl-2.0.html
*/


/* function init_oik_shipping() – Implement "plugins_loaded" action for oik-weightcountry-shipping */
/* class OIK_Shipping */
/* function OIK_Shipping::__construct() – Constructor for OIK_Shipping class */
/* function OIK_Shipping::init() – */
/* function OIK_Shipping::init_form_fields() – */
/* function OIK_Shipping::display_country_groups() – */
/* function OIK_Shipping::calculate_shipping() – Calculate shipping rates */
/* function OIK_Shipping::get_countrygroup() – Retrieve the number of the country group for the country selected by the user on checkout */
/* function OIK_Shipping::get_rates_by_countrygroup() – Retrieves all rates available for the selected country group */
/* function OIK_Shipping::set_countrygroup_title() – Set the title for this country group rate */
/* function OIK_Shipping::pick_smallest_rate() – Picks the right rate from available rates based on cart weight */
/* function OIK_Shipping::sort_ascending() – Sort the rates array by ascending weight */
/* function OIK_Shipping::no_shipping_available() – Implement "woocommerce_cart_no_shipping_available_html" */
/* function OIK_Shipping::admin_options() – Display Weight/Country shipping options */

  
/* function add_oik_shipping() – Implement ‘woocommerce_shipping_methods’ filter for oik-weightcountry-shipping */

/* function init_oik_weightcountry_l10n() – Implement ‘woocommerce_init’ to load l10n versions and then initialise weight/country shipping */
  
//add_action( 'plugins_loaded', 'init_oik_shipping', 0 );
add_filter( 'woocommerce_shipping_methods', 'add_oik_shipping' );
add_action( 'woocommerce_init', 'init_oik_weightcountry_l10n' );

if ( !function_exists( "bw_trace2" ) ) {
/* function bw_trace2() – Trace $value to the trace log file if tracing is active */
/* function bw_backtrace() – Log a debug_backtrace() to the trace log file if tracing is active */
}


 
 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: oik-weightcountry-shipping.php
      Plugin ref: oik-weightcountry-shipping – WooCommerce extension
      Version: 1.4.1
      Deprecated?: No
      API Letters: O,P,S,W

      Published: March 14, 2017 | Last updated: March 14, 2017

      Information

      File name: oik-weightcountry-shipping.php
      Plugin ref: oik-weightcountry-shipping – WooCommerce extension
      Version: 1.4.1
      Deprecated?: No
      API Letters: O,P,S,W

      Recent plugin updates

      oik-weight-zone-shipping v0.2.6 oik-weight-zone-shipping v0.2.6 has been tested with WooCommerce 7.4.0. ...
      sb-chart-block v1.2.3 SB Chart Block v1.2.3 contains a fix for an Uncaught Error: Call to undefined function bw_trace2()  ...
      SB Chart Block v1.2.1 Update to SB Chart Block v1.2.0 for custom colors, font size options and multiple y-axis charts.  ...
      oik-css v2.1.0 Update to oik-css v2.1.0 for the ability to style CSS and GeSHi output in documentation. ...
      oik-types v2.3.0 Update to oik-types v2.3.0 for improved control over sort order on archives ...

      Plugins

      • All Plugins
      • oik base plugin
      • FREE oik plugins
      • WordPress plugins
      • Premium oik plugins

      Themes

      • FREE themes
      • Bespoke themes
      • Premium themes

      Blocks

      • All Blocks
      • Block examples
      • About Blocks

      Shortcodes

      • All Shortcodes
      • Shortcode examples
      • About Shortcodes

      Reference

      • About APIs
      • All APIs
      • All Classes
      • All Files
      • All Hooks

      Support

      • Contact
      • Cookies policy
      • Get API key
      • Privacy
      • Request support
      • Sitemap
      • Stay informed
      • Terms and Conditions
      oik-plugins
      Email: herb@bobbingwide.com

      Weight shipping plugins

      Find out which cart weight shipping plugin you need for your WooCommerce site.
      Which cart weight based plugin do I need?

      Site:  www.oik-plugins.com
      © Copyright oik-plugins 2011-2023. All rights reserved.


      Website designed and developed by Herb Miller of Bobbing Wide
      Proudly powered by WordPress and oik-plugins
      WordPress 6.1.1. PHP: 7.4.33. Memory limit: 768M