Remove Campaign Name From Donation Summary
Change the output of the line items displayed by the donation summary in email receipts.
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…
Disable Automatic Updates Emails (copy)
Stop getting emails about automatic updates on your WordPress site.
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
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'…
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);
Set the ranges for Calendar View | Display Eventbrite Events
The following code snippet filters the valid ranges for the next/prev keys of the calendar views…
WordPress Content Filter: Removing Tags for Enhanced Display Control
The purpose of this code snippet is to filter out tags and their contents from the…
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…
Title
Describe
Untitled Snippet
name: Update lists on: schedule: - cron: '0 0,12 * * *' # At 00:00 and…