Content Restriction Compatibility for Software Licensing

Make the edd_restrict shortcode check if a license is expired before displaying content.

Reverse Receivers

Reverses the receivers for PayPal Adaptive Payments

Custom fields to vendor settings page

add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>

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();

1 115 116 117 118 119 141