Search results for: admin

MemberPress: Allow Importing Coupons Associated With Affiliates (Easy Affiliate)

This code snippet is used to add the additional importing option for Easy Affiliate data. The…

woo orders page Whatsapp DM from mac app

// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…

MemberPress: Unenrolled Course Shortcode

The code snippet registers a new shortcode: [mpcs-unenrolled-courses]. Adding this shortcode will display an unordered list…

MemberPress: Exclude Protected Posts From the Main Query

This code snippet modifies the main WordPress query to exclude all posts related to the specified…

MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard

This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…

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…

Search Filter by Genre and Artist

This will only work if genre and artist are registered as taxonomies in your theme or…

Hide uncategorized from widget shop

Hide uncategorized category from widget in WooCommerce

Restrict payment methods based on cart total

Restrict payment methods based on cart total

Reset Duplicator Pro capabilities

This snippet resets the Duplicator Pro capabilities. Insert it into the wp-config.php file, refresh the wp-admin…

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 */…

Add Dropdown Field To Donation Form

Shows how to add a custom dropdown in a donation form (this example the select field…

MemberPress: Generate All Invoices

function generate_bulk_invoices() { if( isset( $_REQUEST[ 'generate-invoices' ] ) ) { global $wpdb; $query = "SELECT…

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

1 19 20 21 22 23 122