Runs these tasks automatically when the workspace is opened:
npm run dev
: recompiles assets when modified; useful for Tailwind JIT mode, Vite, etc.php artisan horizon
: runs Horizon queue monitorphp artisan schedule:work
: runs scheduled tasks
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event)) | |
}) | |
async function handleRequest(event) { | |
let url = new URL(event.request.url); | |
url.hostname = 'my-secure-bucket.s3-us-east-2.amazonaws.com'; | |
let response = await fetch(url); |
<?php | |
trait HasRefinements | |
{ | |
public static function convertFiltersForMeiliSearch(array $filters, mixed $parentKey = null) | |
{ | |
$return = []; | |
foreach ($filters as $key => $value) { | |
if (! is_null($parentKey)) { |
Runs these tasks automatically when the workspace is opened:
npm run dev
: recompiles assets when modified; useful for Tailwind JIT mode, Vite, etc.php artisan horizon
: runs Horizon queue monitorphp artisan schedule:work
: runs scheduled tasks<?php | |
/** | |
* Plugin Name: Give - <code>get_goal()</code> fix | |
* Plugin URI: https://luminfire.com | |
* Description: Forces <code>get_goal()</code> to return false if goal is disabled for the form. | |
* Version: 1.0.0 | |
* Author: LuminFire (Andrew Minion) | |
* Author URI: https://luminfire.com/ | |
* | |
* @package give-get-goal-fix |
<?php | |
/** | |
* Autocalculate and define theme version constant for use in multiple stylesheets/scripts | |
*/ | |
define( 'MY_THEME_VERSION', wp_get_theme()->get( 'Version' ) ); | |
/** | |
* Enqueue stylesheet | |
* |
<?php | |
/** | |
* Plugin Name: WPAmplify GA Tracking | |
* Plugin URI: https://gist.github.com/macbookandrew/84ce54d73713d82b390fc9dc29b19e12/ | |
* Description: Basic Google Analytics tracking for mailto: links | |
* Version: 1.0.0 | |
* Author: AndrewRMinion Design | |
* Author URI: https://andrewrminion.com | |
* Copyright: 2017 AndrewRMinion Design |
<?php | |
/** | |
* Plugin Name: Sermon Manager Taxonomy Archives | |
* Plugin URI: https://gist.github.com/macbookandrew/62733a780899bb61773188641f4813de | |
* Description: Shortcode to create faux custom taxonomy archives; example: [sermon_tax_archive taxonomy="wpfc_preacher"] | |
* Version: 1.0.0 | |
* Author: AndrewRMinion Design | |
* Author URI: https://andrewrminion.com | |
* Copyright: 2017 AndrewRMinion Design |