Search results for: admin

MemberPress: Exclude Protected Posts from Search Results

Removes any posts from the search results that the current user (or guest) does not have…

Add vendor's details on customer's order email

Use this code snippet to add the following information to be included in the purchase email…

_MK - Last connection

// Enregistre la date de connexion de l'utilisateur function enregistrer_derniere_connexion($user_login, $user) { // Met à jour…

<10

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

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.

1 18 19 20 21 22 136