Make Private Posts Visible to Subscribers
/* * Make Private Posts visible to Subscribers * Typically only visible to admin or editor…
MemberPress: Display Current User’s Memberships Renewal Dates
This code snippet adds the new [mp_membership_renewal_date] shortcode. Adding this shortcode anywhere on the website displays…
MemberPress: Change the Member’s User Role After Subscription Cancellation
The code automatically changes the member's user role once any subscription is canceled. This will be…
pdf page count
pdf page count
WP Simple Pay: Lower reCAPTCHA Threshold
Adjusts the reCAPTCHA v3 threshold for determining fraudulent interactions. 1.0 is very likely a good interaction,…
How to Add Christmas Celebration Animation in WordPress Website
Add Christmas Snow Animation in WordPress Website
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: 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; }