file:///Users/severenhenderson/Downloads/pinterest-b4939.htmlContinue reading
Archives: Snippets
Add Textbox To Donation Form
/** * Shows how to add a custom text box in a donation form. * In this example, we are adding a text box to collect a special referral code that the admin can read later. * * This snippet…Continue reading
Contato
deneme
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
MemberPress: Mailchimp Feed Unblocker
function allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[‘allow_mailchimp’] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘allow_mc_through’, 11, 3 );Continue reading
MemberPress: WooCommerce – Show Protected Products on the Shop Page
function remove_plugin_filter() { remove_filter( ‘woocommerce_product_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 2); remove_filter( ‘woocommerce_variation_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 4); } add_action( ‘plugins_loaded’, ‘remove_plugin_filter’ );Continue reading
wordpress on-page confirmation message
.wpforms-confirmation-container-full { color: #D2A336; margin: 0 0 24px 0; background: #000000; border: 1px solid #D2A336; padding: 15px 15px; }Continue reading
Disable WordPress Admin Bar for all users
/* Disable WordPress Admin Bar for all users */ add_filter( ‘show_admin_bar’, ‘__return_false’ );Continue reading
MemberPress: Manually Refresh Member Data
/** * Manually refresh all members’ data. * * Once this snippet is added, visit /wp-admin/?update-member-data=true on your site to update all member data. * After running the update, clear any site cache and check the Members page again. */…Continue reading
MemberPress: Changes Product Image on the Checkout Page
function mepr_custom_checkout_image() { ?>Continue reading