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…

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 {…

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…

WP Simple Pay: Set a Per-Form Custom Amount Programmatically

Adjust a single payment form's custom amount value programatically.

Maintain+ Footer Credit

jQuery("footer").append(" Site managed by Maintain+ ")

Elementor Rest Bridge

if (!defined('ABSPATH')) { exit; } add_action('init', function () { $post_types = array('page', 'post', 'elementor_library'); foreach ($post_types…

1 … 33 34 35 36 37 … 133