Change the sold by link label to vendor's name

Change the sold by link label to vendor's name

Use Billing Address in Order Exports

By default the export order feature for the vendor dashboard users the customers shipping address. This…

Add Vendor Ratings / Feedback to Product Page

add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…

Resetting the Vendor & Pending Vendor Roles

add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…

Fix 500 Internal Server Error

A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…

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: Successful Payment Conversion Tracking

Execute a script the first and only time a payment confirmation is viewed.

Open External link to a new tab

This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…

Set the ranges for Calendar View | Display Eventbrite Events

The following code snippet filters the valid ranges for the next/prev keys of the calendar views…

AIOSEO - Increase SEO Analyzer TimeOut

This snippet will increase the Timeout limit set for the SEO Analysis feature on a site.

<10

WordPress Content Filter: Removing Tags for Enhanced Display Control

The purpose of this code snippet is to filter out tags and their contents from the…

<10

WP Simple Pay: Remove Trailing Decimals

/** * @link https://library.wpcode.com/snippet/323j86jo/ */ add_filter( 'simpay_decimal_places', function() { return 0; } );

create_folder_and_upload_file

Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…

1 73 74 75 76 77 81