Skip to content

Instantly share code, notes, and snippets.

View thijsbouwes's full-sized avatar

Thijs thijsbouwes

  • The netherlands
View GitHub Profile
@thijsbouwes
thijsbouwes / functions.php
Last active February 8, 2020 10:36
Daiscon pixel bulk edit
<?php
add_action('woocommerce_product_bulk_edit_start', 'daisycon_pixel_cc_field_bulk_edit_input');
function daisycon_pixel_cc_field_bulk_edit_input() {
?>
<div class="inline-edit-group">
<label class="alignleft">
<span class="title">
<?php _e('Daisycon Pixel Commissie Code', 'woocommerce'); ?>
</span>
@thijsbouwes
thijsbouwes / BedrockPublicValetDriver.php
Last active January 24, 2020 08:05
Valet bedrock driver, serving from the public folder instead of the web folder. Also see: https://github.com/laravel/valet/blob/master/cli/drivers/BedrockValetDriver.php
<?php
class BedrockPublicValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*
* @param string $sitePath
* @param string $siteName
* @param string $uri
@thijsbouwes
thijsbouwes / composer.json
Created May 30, 2017 22:46
Local composer package
{
"name": "test/package-name",
"description": "Test project to demonstrate local package development",
"license": "MIT",
"authors": [
{
"name": "Thijs Bouwes",
"email": "thijsbouwes@gmail.com"
}
],