Search results for: admin
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
Mass Order Delete
Bulk delete orders from Easy Digital Downloads easily
WP Simple Pay: Create WordPress User After Payment
Creates a new WordPress user when a subscription is started or a one-time payment is made.
Disable Product delete for published products only
/** * This will disable delete only for published products, leaving drafts to be able to…
Move WPCode Status Column
This snippet makes the status column the 2nd column in the admin list of snippets.
change media owner
Allows the admin to assign any media library file from one user to another
Sort Events Category by Publish Date (Oldest First)
function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…
Remove Product Notes For All Downloads
Remove product notes from all downloads. These show on the purchase confirmation page, the admin email…
Add Campaign Creator Name Donation Export
In this example, the campaign creator's name is added to the Donations export, so it's easy…
MemberPress: Hide Protected Posts on Archive Page
Hides posts that the current user (or guest) does not have access to from archive pages.
Convert Uploaded Images to WebP Format Automatically
Automatically convert uploaded images to WebP format.
MemberPress: Hide Protected Posts from Search Results
Hide any posts that the current user (or guest) does not have access to from search…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Remove Default jQuery
// Remove default WordPress jquery wp_deregister_script( 'jquery' ); //Remove jquery migrate add_action( 'wp_default_scripts', 'remove_jquery_migrate' ); function…
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…