Search results for: admin
_MK - Last connection
// Enregistre la date de connexion de l'utilisateur function enregistrer_derniere_connexion($user_login, $user) { // Met à jour…
Custom Tax Display Settings for Regular Prices by Specific Wholesale Roles
This code snippet will be applied to simple products on the single product page only
Remove comments article only
Remove comments article only
MemberPress: Generate All Invoices
function generate_bulk_invoices() { if( isset( $_REQUEST[ 'generate-invoices' ] ) ) { global $wpdb; $query = "SELECT…
Add Dropdown Field To Donation Form
Shows how to add a custom dropdown in a donation form (this example the select field…
Categorias pai a negrito e lembrete para nao esquecer de prencher certos campos ao adicionar um produto
/** * Validação completa para produtos WooCommerce * Verifica preço, categoria, referência (SKU) e peso */…
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.