How to apply a custom coupon to a WooCommerce Subscription recurring amount?

I have managed to find a way, but welcome a better one. As mentioned in the OP comments, the function remove_coupons() in class WC_Subscriptions_Coupon in file woocommerce-subscriptions/includes/class-wc-subscriptions-coupon.php is removing coupons that are not ‘recurring_fee’ or ‘recurring_percent’. There is no filter added we can tap into to assign our own custom coupon types, so there does … Read more

I need a link that directs the user that is logged to his profile

You said that KingComposer will accept PHP blocks. This will generate a link to the current logged-in user’s author page: <?php $author_page = is_user_logged_in() ? get_author_posts_url( get_current_user_id() ) : NULL; $acc_pay_page = $author_page ? add_query_arg( ‘screen’, ‘acc_pay’, $author_page ) : NULL; if ( $acc_pay_page) { echo ‘<a href=”‘ . esc_url( $acc_pay_page ) .'”><img src=”account_page_page.png” /></a>’; … Read more