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.
Remove Dashboard Widget
Remove default dashboard widget for everyone.
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…
Ultra Shop button
A button to link our shop to the Ultraceuticals Shop
efeffefef
efef
Block WP-Admin Area from Non-Administrators
Prevent users who are not administrators from accessing the wp-admin area.
MemberPress: Disable Address Fields for a Specific Membership
Note: This code will not work if ReadyLaunch™ is enabled on the registration page. The code…