Add vat over the commission

This will add VAT value over the commission

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'…

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

Require Downloadable fields - Downloadable product template

Require Downloadable fields - Downloadable product template

Allow CSS Files Upload

Allowing to upload CSS file into media folder for custom special integration such as booking search…

Defining Amazon SES Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

floating bar css

html div#om-{{id}}.CampaignType--floating { position: absolute !important; top: 0 !important; display: block !important; background: #0B8BBB !important; }

Dynamic copyright year using HTML

Adjust the styling either inline or using css

MemberPress: Bulk Delete All Expired Subscriptions

Running this code snippet will delete all expired and canceled subscriptions in bulk each time the…

How to Check If Your Debug Certificate Has Expired

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey

1 126 127 128 129 130 218