MemberPress: Disable the Unauthorized Redirection for Multiple Pages And/or Posts

Adding this code snippet will prevent unauthorized users from being redirected away from specific pages if…

Enable automatic updates for WordPress core, plugins, and themes

// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…

MFP > Deploy Show & Get Data

add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…

MemberPress: Add Description for Order Bumps Memberships

The code snippet is designed to manually add a custom paragraph as a description for each…

MemberPress: Restrict Email Patterns for Specific Memberships

This code snippet prevents users with specific email patterns from registering for any of the specified…

modify woocommerce states list

Modyfiy Woocommerce state list to armenian towns villages or districts

Create a Custom Shipping Method in WooCommerce

This snippet allows you to create and add a custom shipping method to your WooCommerce store.

Insert User Status and EN-ID into localStorage (for Jason)

add_action('wp_head', 'output_auth0_user_id_meta'); function output_auth0_user_id_meta() { $script = ""; echo $script; }

Colin Bunn PRO
<10

Activer automatiquement les extensions professionnelles

add_action('init', function () { $extensions = [ 'wp-user-manager/wp-user-manager.php', 'wp-job-portal/wp-job-portal.php', 'wp-html-mail/wp-html-mail.php', // si utilisé pour les emails…

om.Campaign.canShow

document.addEventListener('om.Campaign.canShow', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );

1 135 136 137 138 139 225