Skip to content

Instantly share code, notes, and snippets.

View hugomedeiros's full-sized avatar
🏠
Working remotely since 2016 <3

Hugo FIaux hugomedeiros

🏠
Working remotely since 2016 <3
View GitHub Profile
@hugomedeiros
hugomedeiros / custom-login-styles.css
Created January 30, 2019 13:13 — forked from gugaalves/custom-login-styles.css
WordPress - Customizing Login, Register and Lost Password pages
/*
*
* This CSS template will customize WordPress.org login page:
*
* Login page: /wp-login.php
* Register page: /wp-login.php?action=register
* Lost Password page: /wp-login.php?action=lostpassword
*
* @site https://tudoparawp.com.br
* @author Guga Alves
@hugomedeiros
hugomedeiros / update-woocommerce-order-status.php
Last active June 22, 2017 10:38
Update WooCommerce Order Status
<?php
function update_order_status($status){
$order = new WC_Order($order_id);
if (!empty($order)) {
// 'processing', 'completed', 'on-hold', 'canceled', other(slug)
$order->update_status( '$status' );
}
}