AffiliateWP - Force Query String Format for Affiliate Deep Links
Fixes redirect loops caused by AffiliateWP's pretty deep link format (/page/ref/username/) conflicting with WooCommerce or custom…
Add Customer Name Column to Affiliate Portal Referrals Tab
Adds a Customer Name column to the main Referrals table in the Affiliate Portal. Pulls the…
Disable IP Geo lookup service
That script is the one making the call to the geolocation endpoint, the rest of the…
Fix coupon displaying 0% in the affiliate dashboard
add_filter( 'get_post_metadata', function( $value, $object_id, $meta_key, $single ) { static $running = false; if ( $running…
Adsense
Adse
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); } }…
AIO Dashboard
Suport for AIO SEO dashboard
Bulk Change Custom Order Status wpadmin
add_filter( 'bulk_actions-edit-shop_order', 'misha_register_bulk_action' ); // edit-shop_order is the screen ID of the orders page function misha_register_bulk_action(…
Add file to media library programmatically
wp_insert_attachment( string|array $args, string|false $file = false, int $parent_post_id, bool $wp_error = false, bool $fire_after_hooks =…
Untitled Snippet
https://github.com/dontcrash/NRD.git