Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
Remove Order Notes in checkout page
/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
WP Simple Pay: Add Customer Phone to Customer Metadata
Adds the "Telephone" customer field value to the Customer record's metadata. This value is normally only…
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: Set a Per-Form Custom Amount Programmatically
Adjust a single payment form's custom amount value programatically.
WP Simple Pay: Custom Decimal Separator
Changes the decimal separator from a . (period) to a , (comma).
How To Show Last Modified Date On Blog Post Instead Of Published Date in WordPress
If you want to display the last modified date on your blog post without using a…
WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Add Rel Nofollow to Top Bar Social Links
We don't recommend it but if you want to add a nofollow attribute to your top…