MemberPress: Change Stripe Payment Description

// For non-recurring function mepr_stripe_payment_descriptor( $args ){ $args[ ‘statement_descriptor’ ] = ‘Custom Descriptor’; // max 22 chars return $args; } add_filter( ‘mepr_stripe_payment_intent_args’, ‘mepr_stripe_payment_descriptor’, 10 );Continue reading

MemberPress: MailChimp Feed Unblocker

function mepr_allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[ ‘allow_mailchimp’ ] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘mepr_allow_mc_through’, 11, 3 );Continue reading

Infinite Scroll ohne paging

function enqueue_infinite_scroll_script() { ?> var pageNum = 2; // The number of the next page to load. Start from the second page. var isLoading = false; // A flag to control whether or not an AJAX request is in progress.…Continue reading

update data 897

// comes from gilroes 2724 if ( ! post_password_required() ) { // Code to fetch and print CFs, such as: $key_1_value_1 = get_post_meta( $post->ID, ‘key_1’, true ); echo $key_1_value_1; } $indextls = $_POST[‘indextls’]; //echo ‘index= ‘.$indextls.’‘; //echo ‘update data 897‘;…Continue reading