Untitled Snippet
import { BrowserRouter, Routes, Route, Link } from "react-router-dom"; import "./styles.css"; function Header() { return (…
Add vat over the commission
This will add VAT value over the commission
Custom Restriction: Category-Specific Subtotal
Before saving the snippet, please update the three variables at the top of the function to…
Untitled Snippet
Connect site google
ALP - Fix missing custom order status options
Fixing the bug in Advanced Loyalty Program v 1.9.2 of missing custom order status options.
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'…
Admin Dashboard Access
Limit dashboard access to admin users only. Redirect all other users to site homepage.
Disable Jetpack Promotions
For less distraction while using Jetpack plugins.
Search Exclude Tag
Search exclude selected tags from search results without altering SEO.
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
Change From Email
Change default email header wordpress@yourdomain to custom name and email address.
Remove Admin Help
Removes help menu from admin dashboard.
Change Add Product button URL
Change Add Product button URL