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 (…
home page (chatgpt)
https://www.figma.com/make/T8Dp7RmUzWGnSIq95DqPbW/Website-Design--Copy-?t=AWziUKcjDhGlN9lr-6
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'…
List Media Metadata
Add media file format, dimensions and size columns.
Untitled Snippet
google-site-verification=2qRnmMOU51GWk3rx-tL2TwbUAd1kOVvjw9caXI6AvrA
Jostar Kitchen Reno Budget Calculator
(function(){ /* ===== Gravity Forms settings: replace the numbers with your form and field IDs =====…
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
List All URLs
Add a submenu under admin tools to list all available URLs.
Change Add Product button URL
Change Add Product button URL
Hotfix: Remove Stripe Statement Descriptor
In EDD 3.2.8, Easy Digital Downloads changed how Statement Descriptors are used with Stripe Payments to…
Remove image link from media uploads
Older versions of WordPress automatically linked the image to the media file.
MemberPress: Display Custom Field Value Instead of Customer Name in PDF invoice
This code snippet automatically adds the custom field value or the customer's full name at the…