Search results for: admin
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
Disable WordPress Admin Bar for all users
Disable WordPress Admin Bar for all users
Disable The WP Admin Bar
Hide the WordPress Admin Bar for all users in the frontend.
Filter to send admin confirms | Quick Event Manager
add_filter('qem_registration_always_confirm_admin',,,1); This filter returns a Boolean to decide if an admin confirm is to be sent…
Remove Color Scheme Picker
Disable the option to change the admin color scheme in the profile page.
Duplicate Post/Page Link
Duplicate posts, pages or any post type with 1-click by adding a duplicate link in the…
Change Admin Panel Footer Text
Display custom text in the admin panel footer with this snippet.
Custom Field to Vendor Settings Page
/* WC Vendors Pro - My Custom Field */ function store_bank_details( ){ if ( class_exists( 'WCVendors_Pro'…
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
Change CSV Export Delimiter
Changes the CSV delimiter that separates each form field on a form export. Remember to change…
Replace Menu Icon
Replace the standard menu icon in Easy Digital Downloads with an icon from Dashicons
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Hindra åtkomst till /wp-admin för prenumeranter
/** * Hindra åtkomst till /wp-admin för prenumeranter */ add_action( 'admin_init', function() { if ( is_user_logged_in()…