Search results for: admin
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…
Move WPCode Status Column
This snippet makes the status column the 2nd column in the admin list of snippets.
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 =…
Downloads Email Tag
Adds a {downloads} email tag for use in email templates that outputs a simple list of…
Hide product categories
Hides some categories that customers are not supposed to see.
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Allow Manual Donations Without Email
Allow donors to be be added without an email address.
Force Minimum Password Length in Profile Editor
Verify password minimum length in the EDD profile editor.
Show link assistant suggestions
This snippet fixes a conflict of a custom theme with the default WordPress class called 'fixed'.…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
Alter Payment List Quick Actions
Remove the 'Delete' option from the Payment List Quick Action
Limit user posts
A settings page to set the number of posts all users can create
WPForms: hide certain sections on a single entry page: notes, log, debug, meta, payment, actions, related, geolocation.
This code removes all sections on a single entry page in the admin area. Method names…
Disable Product delete for published products only
/** * This will disable delete only for published products, leaving drafts to be able to…