CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
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
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Register Podcast Meta Fields
Automatically adds the 'Key Concepts', 'Referenced in this Episode', and 'Companion Post Link' input fields to…
Modify Software Licensing License Structure
Modify the structure of Software Licensing's license keys.
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
Note Orders
add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…
Change Number of Downloads in Bundle Select
When editing a bundle, the select field for choosing the downloads to include only displays a…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
Defer or Async CSS Loading
Defer or Async CSS Loading
Untitled Snippet
google-site-verification=CozAWt526B1a5qKqT36OHU-kxkUBvZ4UWBKqqjkLtIw
Load all Customizer "Additional CSS" in Block Editor
The CSS added to the frontend via the Customizer does not get added to the block…