Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…
Facebook storage tracking
Pixel for tracking self storage traffic
Remove address from the header
Remove address block from the header
Child Support Calculator
function child_support_calculator_shortcode() { // Enqueue the JavaScript wp_enqueue_script('child-support-calculator', get_template_directory_uri() . '/path-to-your-js-folder/child-support-calculator.js', array('jquery'), '1.0.0', true); ob_start(); include…
Enable Full WP_Editor on Product Fields
add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…
game_start
Round: 1/5 Cash: $5000 Automobile Production: 1000 units Industry Level: 5 Start New Game Save Game…
Modify LLMS Title for a Specific Post
This snippet modifies the title shown in llms.txt and llms-full.txt for a specific post ID.
Buy Now Button - Variation
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text ==…
Alter Payment List Quick Actions
Remove the 'Delete' option from the Payment List Quick Action
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…
Combine shortcodes to have more than one month in Fullworks' Event Manager
This snippet combines 3 shortcodes of qem to list the current month, next month and the…
MemberPress: Display Account Tabs Anywhere
This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…