See blog post at https://andrewrminion.com/2017/12/woocommerce-downloadable-products-granting-permissions-to-previous-customers/
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 | |
/* | |
* Plugin Name: The Events Calendar + The Grid | |
* Version: 1.0 | |
* Description: Adds dates to [the_grid] shortcode output for Tribe Events | |
* Author: AndrewRMinion Design | |
* Author URI: https://andrewrminion.com | |
* Plugin URI: https://gist.github.com/macbookandrew/8aedd7809ddf89fabb6fc66a19bd0318 | |
* License: GPL2 | |
*/ |
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 | |
/** | |
* 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 |
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 | |
/** | |
* 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 |
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 | |
/** | |
* Autocalculate and define theme version constant for use in multiple stylesheets/scripts | |
*/ | |
define( 'MY_THEME_VERSION', wp_get_theme()->get( 'Version' ) ); | |
/** | |
* Enqueue stylesheet | |
* |
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 | |
/** | |
* 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 |
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 tasksphp artisan pulse:check
: runs Pulse watcher- Prunes failed queue jobs and telescope logs on open
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 | |
trait HasRefinements | |
{ | |
public static function convertFiltersForMeiliSearch(array $filters, mixed $parentKey = null) | |
{ | |
$return = []; | |
foreach ($filters as $key => $value) { | |
if (! is_null($parentKey)) { |