Allow WooCommerce Shop Managers to manage vendors

/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…

login redirect changed from default my account page to home page

/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…

Set the Payment fields in the Sign Up form as required

Set the Payment fields in the Sign Up form as required - you can remove any…

HTML inside PHP

How to output HTML inside PHP.

Filter to send admin confirms | Quick Event Manager

add_filter('qem_registration_always_confirm_admin',,,1); This filter returns a Boolean to decide if an admin confirm is to be sent…

Disable Dynamic Template on the Homepage/Front-page

The following snippet can be used to remove the dynamic template assigned to all pages from…

Remove Unwanted Events | Display Eventbrite Events

Sometimes it is simplest to resort to code if you want to remove something from the…

Display both published and modified date

‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…

google verification

google verification code

om-nextjs14-layout.tsx

import '@/app/ui/global.css'; import {RouteChangeListener} from '@/app/route-change-listener.tsx'; export default function RootLayout({ children, }: { children: React.ReactNode; })…

om-startClose.js

// Close the OptinMonster campaign om{{id}}.startClose();

slide-bottom-left.css

html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }

RSA GTM Body Tag

Add GTM Tag to Site Body in RSA Site Group

Colin Bunn PRO
<10

Customize Gift Card Code

/* Customize the generated Gift Card Code */ function agcfw_change_prefix() { return array( 'characters' => 'ABCDEFGHJKMNPQRSTUVWXYZ23456789',…

1 108 109 110 111 112 132