Search results for: admin
Add A Default Campaign Custom Amount
Return a "default" amount if there isn't one isn't set in the session. Read all notes…
Remove image link from media uploads
Older versions of WordPress automatically linked the image to the media file.
Add file to media library programmatically
wp_insert_attachment( string|array $args, string|false $file = false, int $parent_post_id, bool $wp_error = false, bool $fire_after_hooks =…
Show link assistant suggestions
This snippet fixes a conflict of a custom theme with the default WordPress class called 'fixed'.…
Filter the message generated for admin confirmation | Quick Event Manager
add_filter('qem_registration_email_message',,,3); This filters allows you to adjust the confirmation email to the admin / organiser (…
Allow Templatera Templates to be used for Dynamic Templates
In Total 5.9 with the introduction of the built in Dynamic Template post type we removed…
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.
Replace WordPress Logo on Login Page
Use your custom logo on the default login page, don't forget to edit the snippet...
Remove Query Strings From Static Files
Use this snippet to remove query string from CSS & JS files and improve performance ratings.
Bulk Change Custom Order Status wpadmin
add_filter( 'bulk_actions-edit-shop_order', 'misha_register_bulk_action' ); // edit-shop_order is the screen ID of the orders page function misha_register_bulk_action(…
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…
WC Product Bundle Integration Fix for MOQ incorrectly enforced on product bundle child items
/** * Fix 1: Product page — prevent WWPP from overriding the quantity input args for…
WWPP & WPML: bulk sync wholesale prices to translated products
Please review the following before using this solution: 1. This is a custom snippet provided as-is,…
Make Private Posts Visible to Subscribers
/* * Make Private Posts visible to Subscribers * Typically only visible to admin or editor…
event snippet
Event snippet for Phone call lead conversion page