Order Test – Fake Pay

/** * Name: WooCommerce Order Test * URI: http://www.wpfixit.com */ function sb_wc_test_init() { if (!class_exists(‘WC_Payment_Gateway’)) { return; } class WC_Gateway_sb_test extends WC_Payment_Gateway { public function __construct() { $this->id =...

Disable Dashicons on front-end

// —-Disable Dashicons on front-end function wpdocs_dequeue_dashicon() { if (current_user_can( ‘update_core’ )) { return; } wp_deregister_style(‘dashicons’); } add_action( ‘wp_enqueue_scripts’,...

Divi Google Fonts = display swap (seo)

//————DIVI ADD DISPLAY SWAP TO FONTS GOOGLE // Remove Divi’s function add_action( ‘init’, function () { remove_action( ‘wp_enqueue_scripts’, ‘et_builder_preprint_font’ ); }); // Add our modified...

Product category on body class

/** * @snippet Product Category > Body CSS Class @ Single Product * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @testedwith WooCommerce 3.9 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ add_filter( ‘body_class’,...