I hereby claim:
- I am ejntaylor on github.
- I am ejntaylor (https://keybase.io/ejntaylor) on keybase.
- I have a public key ASDgnZFtjzuxhtH9z5DmsDWk-Sk-w3ceHLX4PEVqr0Axswo
To claim this, I am signing this object:
<?php | |
namespace App\Http\Integrations\Middleware; | |
use Aws\Credentials\CredentialProvider; | |
use Aws\Credentials\CredentialsInterface; | |
use Aws\Signature\SignatureV4; | |
use Saloon\Contracts\RequestMiddleware; | |
use Saloon\Http\PendingRequest; |
I hereby claim:
To claim this, I am signing this object:
version: 2 | |
updates: | |
- package-ecosystem: "github-actions" | |
directory: "/" | |
schedule: | |
interval: "daily" | |
- package-ecosystem: "npm" | |
directory: "/" | |
schedule: | |
interval: "daily" |
<?php | |
// WooCommerce Shipping Calculated after Coupon | |
add_filter( 'woocommerce_shipping_free_shipping_is_available', 'filter_shipping', 10, 2 ); | |
function filter_shipping( $is_available, $package ) { | |
if ( WC()->cart->prices_include_tax ) | |
$total = WC()->cart->cart_contents_total + array_sum( WC()->cart->taxes ); | |
else |
<?php | |
// Free Trial - Let GF Reg use email as username | |
/** | |
* WordPress register with email only, make it possible to register with email | |
* as username in a multisite installation | |
* @param Array $result Result array of the wpmu_validate_user_signup-function | |
* @return Array Altered result array | |
*/ | |
function custom_register_with_email($result) { |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// Auth | |
Auth::routes(); | |
// Statamic | |
Route::name('statamic.')->group(function () { | |
/** | |
* Glide |
<?php | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\Route; | |
use Statamic\Facades\OAuth; | |
use Statamic\Statamic; | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- | |
| |
/** | |
* Replace WooCommerce Default Pagination with WP-PageNavi Pagination for Woo Canvas | |
**/ | |
add_action('init','alter_woo_hooks'); | |
function alter_woo_hooks() { | |
remove_action( 'woocommerce_after_main_content', 'canvas_commerce_pagination', 01, 0 ); | |
} |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use VictorYoalli\LaravelCodeGenerator\Facades\CodeGenerator; | |
use VictorYoalli\LaravelCodeGenerator\Facades\CodeHelper; | |
use VictorYoalli\LaravelCodeGenerator\Facades\ModelLoader; | |
function printif($type, $filename, $msg = '✖ Not generated ') |