Skip to content

Instantly share code, notes, and snippets.

View tonybahama's full-sized avatar

Levente K.Szabo tonybahama

View GitHub Profile
<?php
/**
* Post Types Admin
*
* @author WooThemes
* @category Admin
* @package WooCommerce/Admin
* @version 2.4.0
*/
[spb_row element_name="Row" wrap_type="standard-width" row_bg_type="color" color_row_height="content-height" bg_type="cover" parallax_image_height="content-height" parallax_image_movement="fixed" parallax_image_speed="standard" bg_video_loop="yes" parallax_video_height="window-height" row_responsive_vis="hidden-xs" row_top_style="none" row_bottom_style="none" parallax_video_overlay="none" row_overlay_opacity="0" remove_element_spacing="no" row_col_spacing="10" row_col_pos="center" row_col_content_pos="center" row_col_equal_heights="no" row_expanding="no" row_animation="none" row_animation_delay="0" minimize_row="no" simplified_controls="yes" custom_css_percentage="no" custom_css="margin-top: 0px;margin-bottom: 0px;" border_styling_global="default" width="1/1" el_position="first last"] [spb_column col_sm="6" padding_horizontal="0" width="1/2" el_position="first"] [spb_image image="862241" image_size="medium" frame="noframe" caption_pos="hover" remove_rounded="yes" fullwidth="no" overflow_mode="none" link_targe
// Makes possible to use your standard WooCommerce emails as well as Receiptful's. Receiptful disables every email to customers by default!!!
if ( function_exists( 'Receiptful' ) ) {
remove_action( 'woocommerce_email_classes', array( Receiptful()->email, 'update_woocommerce_email' ), 90 );
add_action( 'woocommerce_email_classes', 'receiptful_custom_email_classes' );
}
/**
* Add Receiptful email.
*
* This is a custom function that adds the Receiptful email. The difference
@tonybahama
tonybahama / 0_reuse_code.js
Created January 24, 2017 12:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console