Yoast SEO
Integration with Yoast SEO with WC Vendors
Rank Math
Support for Rank Math
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add the fields to the user edit screen
// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
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',…
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.