WPCode Functions
For the WPCode plugin interface
Disable editor in Posts & Pages
Disable editor in Posts & Pages
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…
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…
Dequeue CSS files conditionally
Dequeue CSS files conditionally
Google Analytics
Tracking Script
Register Podcast Meta Fields
Automatically adds the 'Key Concepts', 'Referenced in this Episode', and 'Companion Post Link' input fields to…
Downloads Email Tag
Adds a {downloads} email tag for use in email templates that outputs a simple list of…
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