Enable Payment on Account
* - Adds a "Payment Methods" tab under WooCommerce > Settings. * - Shows a matrix…
product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
Add the "input hidden" field type to the EDD settings
Add 'input type="hidden"' to the type of input fields available when setting up your plugin's EDD…
TICKET NUMBER
/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…
Guard Pay Diagnostic Tool
/** * ============================================================ * GUARDEDPAY PRO — Phase 1 Diagnostic (TEMPORARY) * ============================================================ * * PURPOSE:…
Single Line Form adjustments
In case of issues with the inline-fields class described on https://wpforms.com/docs/how-to-display-your-form-in-a-single-line/
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
AI Buzz — Auto Article Count
/** * AI BUZZ — AUTO ARTICLE COUNT UPDATER * * Automatically updates any element with…
Override the commission calculation priority order
/** * Given the provided list of vendor_ids in the vendors array, override the commission to…
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);