Add Post Parent Field

Register a Post Parent field for campaigns.

WPForms: display a form under the confirmation message with or without user entered field values.

add_action( 'wpforms_frontend_output_success', static function ( $form_data, $fields, $entry_id ) { unset( $_GET['wpforms_return'], $_POST['wpforms']['id'] ); // If…

Untitled Snippet

https://www.highrevenuegate.com/vtih3qtws?key=9fcf513fba43e6344e324bc00d8881b4

Publishing email

Emails the author when their download is published.

Move User Fields Below Account Creation

Move the user fields below the "create an account" fields

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…

1 101 102 103 104 105 125