Modify User Role on Checkout
Modify the user role that is given to users that register during checkout
Remove Order Notes in checkout page
/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…
Allow JS Files Upload
Allowing to upload JS files into media folder for custom special integration such as booking search…
Defer or Async CSS Loading
Defer or Async CSS Loading
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…
Set Default Highlight Colour
/** * NOTE: This snippet will not work in versions of Charitable prior to 1.2. *…
Append Post Count to Category Descriptions in LLMS Files
This snippet appends the post count to category descriptions shown in llms.txt
Do On Complete
Execute code whenever an EDD purchase is complete.
Digital Store Theme - Latest Downloads Number
Changes the number of downloads displayed in the latest downloads section of the store front template.
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
add 2 nos
function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…
Move Campaign Summary Below Content
Move the campaign summary block (funds raised, number of donors, etc) to below the extended description…
Untitled Snippet
document.addEventListener("click", (e) => { const pill = e.target.closest(".rs-pill"); if (!pill) return; const row = pill.parentElement; row.querySelectorAll(".rs-pill").forEach(p…