Download Archive Menu Item
Displays the download archive link in the "View All" tab of the "Pages" menu items meta…
Disable Renewal Notice for Specific Products
Disables renewal notices for specific products
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)…
Disable Automatic Updates
Use this snippet to completely disable automatic updates on your website.
Defining SendLayer Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
G-T2XZDKK0J5
om-nextjs14-layout.tsx
import '@/app/ui/global.css'; import {RouteChangeListener} from '@/app/route-change-listener.tsx'; export default function RootLayout({ children, }: { children: React.ReactNode; })…