Sort User ID
Make the User ID column sortable in the WordPress admin users table. First register the column,…
Restrict Role Access
Limit logged in user access to admin area and redirect to home page based on role.
WP HTML Minify
Minify frontend HTML pages.
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 Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…
Basic WP escaping functions
// ❌ Don't use _e(), __(), _x() etc. to output data // ✅ Use the escaped…
Tweak Price Display (Appends Text) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Tasty Roundups - Change Heading from h2 to h3
Change all your Tasty Roundup headings from h2 tags to h3 tags