WPCode Functions

For the WPCode plugin interface

On Add to Cart Event in EDD

Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…

om-reactv4.js

// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…

Hem

Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…

CHARITABLE_DEBUG mode

This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.

Shortcode to show Thumbnail

Show the featured image anywhere in the post by using [thumbnail].

Custom Terms Page

Use the custom page for "agree to terms" and link to it instead of opening terms…

Use Full Store Address in Ships From

add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…

WP Simple Pay: Translate Stripe Error Messages

For more information about the available error codes and messages visit: https://stripe.com/docs/error-codes

WP Simple Pay: Disable Stripe Payment Terms

Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…

Untitled Snippet

/*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font:…

1 … 39 40 41 42 43 … 133