This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Simple User Listing - Demo Avatars | |
* Description: Use Picsum.photos to generate some random random avatars. | |
* Author: helgatheviking | |
* Version: 1.0.0 | |
* Requires at least: 6.5 | |
*/ | |
defined( 'ABSPATH' ) || exit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WooCommerce Add Taxonomy to Export | |
* Plugin URI: https://gist.github.com/helgatheviking/114c8df50cabb7119b3c895b1d854533/ | |
* Description: Add a custom taxonomy to WooCommerce import/export. | |
* Version: 1.0.1 | |
* Author: Kathy Darling | |
* Author URI: https://kathyisawesome.com/ | |
* | |
* Woo: 18716:fbca839929aaddc78797a5b511c14da9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Sample Customizable Product Field for WooCommerce | |
* Plugin URI: https://www.kathyisawesome.com/add-a-custom-field-to-woocommerce-product/ | |
* Description: Add a custom text field to a WooCommerce Product | |
* Version: 1.1.0 | |
* Author: Kathy Darling | |
* Author URI: http://kathyisawesome.com | |
* Requires at least: 5.2.0 | |
* Tested up to: 5.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Example custom variation meta for WooCommerce | |
* Plugin URI: hhttps://www.kathyisawesome.com/add-custom-meta-fields-to-woocommerce-variations/ | |
* Description: Add thickness and diameter fields to variations. | |
* Version: 6.22.5 | |
* Author: Kathy Darling | |
* Author URI: https://kathyisawesome.com/ | |
* | |
* Text Domain: extra-product-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Sort the mix and match children alphabetically | |
* | |
* @param array $children : an array of $product objects | |
* @param obj $product : the container product | |
* @return array | |
*/ | |
function mnm_order_children_args( $children, $product ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TYPES = { | |
FETCH_FROM_API : "FETCH_FROM_API", | |
HYDRATE_PRODUCT: "HYDRATE_PRODUCT", | |
}; | |
export default TYPES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Add sample field to variations | |
* Plugin URI: https://kathyisawesome.com/ | |
* Description: Example of how to add custom fields to variations admin and display on front end. | |
* Version: 0.1.0 | |
* Author: helgatheviking | |
* Author URI: https://kathyisawesome.com | |
* Text Domain: extra-variation-data | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WooCommerce Shipping Contact | |
Plugin URI: https://github.com/helgatheviking/wc-shipping-contact | |
Description: Add a shipping email field to checkout and notify of new orders | |
Version: 1.1.0 | |
Author: Kathy Darling | |
Author URI: http://kathyisawesome.com | |
Requires at least: 4.0 | |
Tested up to: 4.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Change price string from From: $99 to range style $99 - $100 | |
* | |
* @return string | |
*/ | |
function kia_mnm_price_range( $price, $product ) { | |
if ( $product->get_max_container_size() && $product->get_mnm_price( 'max' ) && $product->get_mnm_price( 'min' ) !== $product->get_mnm_price( 'max' ) ) { | |
$price = sprintf( _x( '%1$s - %2$s', 'Price range', 'woocommerce-mix-and-match-products' ), $price . $product->get_price_suffix(), $product->get_mnm_price( 'max' ) . $product->get_price_suffix() ); |
NewerOlder