Download Archive Purchase Buttons
Output purchase button below the full content on download archive pages.
Auto Vote 5 sao cho bài viết mới
function auto_vote_5_stars_on_publish($ID, $post) { if ($post->post_status === 'publish') { if (function_exists('kk_star_ratings_insert')) { kk_star_ratings_insert("5", $ID); } }…
Add Vendor Ratings / Feedback to Product Page
add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…
Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
Add Subscriber to Segment with Duration
Adds the subscriber to the segment for a specific duration, after the defined number of days…
Extra WordPress Filters in Pro (Do something with the ticket availability display) | Display Eventbrite Events
Using this filter, you can change the ticket availability display. filter: (‘wfea_availability_display‘ , $msg, $total_sold, $event_capacity)…
KI
Test
MemberPress: Extend Grace Period for Renewals
Adding this code will extend the grace period for renewals (default is 0). Change the number…
om.Campaign.afterShow
document.addEventListener('om.Campaign.afterShow', function(event) { if (event.detail.Campaign.id == 'zjd3hxxogbfvmy2iz0rp') // your slug { var campaignID = 'om-'+ event.detail.Campaign.id;…
dynamic-monsterlinks-by-class-name.js
// Target by class name window.onload = function(){ const dynamicMonsterLinks = document.querySelectorAll("a.myClass"); dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href =…
RSA GTM Body Tag
Add GTM Tag to Site Body in RSA Site Group
Media Library Infinite Scrolling
Infinite Scroll