Search results for: admin

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…

MemberPress: Unenrolled Course Shortcode

The code snippet registers a new shortcode: [mpcs-unenrolled-courses]. Adding this shortcode will display an unordered list…

Add Checkbox Field To Donation Form

Collect a checkbox field in the donation form.

Send Donation Notification For Pending Offline Donations

Sends a notification to admin if the donation is pending AND it was made in offline…

1 … 22 23 24 25 26 … 145