September 11, 2017

Woo Coming Soon

WordPress Plugin WooCommerce

Woo Coming Soon can handle all of your needs with simply one button on edit product page.

July 29, 2017

Is there any way to send an email to admin?

Is there any way to send an email to admin when an order goes to pending payment while ordering by user in woo-commerce? Yes, it’s possible with the hook. Have a look here. WooCommerce – send custom email on custom order status change

July 24, 2017

WooCommerce Order Splitter

WordPress Plugin – WooCommerce Order Splitter

June 30, 2017

WooCommerce Add-On / Woo Installments

WooCommerce Add-On / Woo Installments Woo Installments can handle all of your needs with simple WordPress posts and pages using WooCommerce plugin as shopping cart flow. You are simply required to decide that what kind of instllments are required to access a course, lesson, post or page. Woo Installments is an incredibly easy to use […]

May 30, 2017

PHP function humanize

function humanize($str){ return ucwords(str_replace(array(‘_’, ‘-‘), ‘ ‘, $str)); }

Option field value not loading on Archive page – WP_Query

  <?php global $development_logos; add_action(‘init’, ‘development_logos’); function development_logos(){ global $development_logos; $development_logos = get_field(‘development_logos’,’option’); } function dev_logos_func( $atts ){ global $development_logos; $devLogos = ‘<div id=”logos”>’; foreach($development_logos as $the_row){ $devLogos .= ‘<a href=”‘.$the_row[‘dev_url’].'” target=”_blank”>’.$the_row[‘dev_name’].'</a><div class=”logosTxt”>’.$the_row[‘dev_text’].'</div>’; } $devLogos .= ‘</div>’; return $devLogos; } add_shortcode( ‘dev_logos’, ‘dev_logos_func’ );

May 24, 2017

Godaddy cron job commands

Type#1: /usr/local/bin/php -q /home/[USER]/[PATH TO FILE] Type#2: wget [URL] > /dev/null 2>&1

February 18, 2017

WooCommerce Email Hooks

Source: https://businessbloomer.com/woocommerce-visual-hook-guide-emails/