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…
AffiliateWP Network Stats Shortcode
Adds an [affwp_network_stats] shortcode with type and status attributes to display individual network metrics for JetEngine…
WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
WWPP - Exclude products from Cart Subtotal Price Discounts if they have an individual price or belong to a specific category
/** * Recalculate the cart subtotal discount to exclude products that: * - belong to a…
Prevent Publishing Posts with Broken Internal Links
Checks all internal links within post content before publishing. If a linked page or post returns…
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);
Set the ranges for Calendar & Calendar List (Combined) View | Display Eventbrite Events
The following code snippet filters the valid ranges for the next/prev keys of the calendar and…
Untitled Snippet
function obtener_sismos_recientes() { // URL de la API $url = 'https://ultimosismo.igp.gob.pe/ultimo-sismo/ajaxb/2024?_=1694788511856'; // Obtener los datos de…