This file contains hidden or 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 | |
// guest registration | |
function wc_register_guests( $order_id ) { | |
// get all the order data | |
$order = new WC_Order($order_id); | |
//get the user email from the order | |
$order_email = $order->billing_email; | |
This file contains hidden or 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 | |
add_filter( 'login_headerurl', 'custom_loginlogo_url' ); | |
function custom_loginlogo_url($url) { | |
return 'http://www.wpbeginner.com'; | |
} | |
?> |
This file contains hidden or 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 | |
function the_breadcrumb () { | |
// Settings | |
$separator = '/'; | |
$id = 'breadcrumbs'; | |
$class = 'breadcrumbs'; | |
$home_title = 'Home'; | |