Enable Full WP_Editor on Product Fields

add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…

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.

MemberPress: Add Author Bio Shortcode

Place the [mpcs-author-bio] shortcode in a post, page, or course. The shortcode will display the biographical…

WP Simple Pay: Copy Payment Metadata to Customer Metadata

Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.

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

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

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: Custom Server-Side Validation Before Payment Creation

Perform additional custom server-side validation prior to allowing a payment to be created.

WP Simple Pay: Programmatically Access Payment Metadata After Payment

Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…

WP Simple Pay: Disable Stripe Payment Terms

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

1 47 48 49 50 51 170