Search results for: admin

MemberPress: Generate All Invoices

function generate_bulk_invoices() { if( isset( $_REQUEST[ 'generate-invoices' ] ) ) { global $wpdb; $query = "SELECT…

Add Dropdown Field To Donation Form

Shows how to add a custom dropdown in a donation form (this example the select field…

Categorias pai a negrito e lembrete para nao esquecer de prencher certos campos ao adicionar um produto

/** * Validação completa para produtos WooCommerce * Verifica preço, categoria, referência (SKU) e peso */…

Reset Duplicator Pro capabilities

This snippet resets the Duplicator Pro capabilities. Insert it into the wp-config.php file, refresh the wp-admin…

Restrict payment methods based on cart total

Restrict payment methods based on cart total

Hide uncategorized from widget shop

Hide uncategorized category from widget in WooCommerce

Search Filter by Genre and Artist

This will only work if genre and artist are registered as taxonomies in your theme or…

Enqueue Child Theme's CSS & Additional CSS in WordPress Editor

/* Enqueue Child Theme style.css to editor */ add_filter('block_editor_settings_all', function($editor_settings) { // Get the URL of…

Add Campaign Creator Name Donation Export

In this example, the campaign creator's name is added to the Donations export, so it's easy…

Add Field To Set Custom Page As Donation Page

Create a new campaign field allowing to select the page where donations are made.

Enable Block Editor For Campaigns

Code that will modify the way the Campaign post type is set up to so that…

Add Post Parent Field

Register a Post Parent field for campaigns.

Bulk Update Campaign End Dates

Bulk-update the end date for all campaigns.

MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard

This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…

MemberPress: Exclude Protected Posts From the Main Query

This code snippet modifies the main WordPress query to exclude all posts related to the specified…

1 15 16 17 18 19 124