Clean text

add_action(‘admin_footer’, function () { global $post; if (get_post_type($post) !== ‘shop_order’) { return; } $order = wc_get_order($post->ID); if (!$order) { return; } if ($order->get_payment_method() !== ‘linkmoney’) { return; } ?>Continue reading

Action Scheduler Tuning

add_filter( ‘action_scheduler_retention_period’, function ( $period ) { return 7 * DAY_IN_SECONDS; } ); add_filter( ‘action_scheduler_default_cleaner_statuses’, function ( $statuses ) { $statuses[] = ‘failed’; return $statuses; } ); add_filter( ‘action_scheduler_cleanup_batch_size’, function ( $batch_size ) { return 50; } ); function eg_increase_time_limit(…Continue reading

Enhance WooCommerce Order Search with Shopify Order Number Meta

function add_custom_shopify_order_number_search( $search_fields ) { $search_fields[] = ‘shopify_order_number’; return $search_fields; } add_filter( ‘woocommerce_order_table_search_query_meta_keys’, ‘add_custom_shopify_order_number_search’ ); add_filter( ‘woocommerce_shop_order_search_fields’, ‘add_custom_shopify_order_number_search’ );Continue reading

VG uuid generation for inkontaktsystem_vg_uuid table

/** * ============================================================================ * WORDPRESS SEQUENTIAL VG NUMBER GENERATION FUNCTION * ============================================================================ * @author Gerrit * @description Generates unique sequential numbers using the table’s * auto-increment ID and returns codes like “VG0001”. * @since 2025-11-14 * * FUNCTION NAME TO…Continue reading

uuid generation script for inkontaktsystem_object_uuid table

/** * ============================================================================ * WORDPRESS UUID GENERATION FUNCTION FOR INKONTAKTSYSTEM * ============================================================================ * @author Sumaiya * @description This function generates a unique UUID in format “xxx_xxx” and * creates a type-prefixed UUID “type_xxx_xxx”. It automatically * inserts the record into…Continue reading

Pixelsz admin panel – juiste

/** * Plugin Name: Pixelsz – Kernfuncties (V17.0) * Description: Whitelist-rechten gefixt. Kernfuncties & Beveiliging voor whitelist; niet-whitelist ziet E-mailtest, WhatsApp, Banner, Onderhoud. Activiteitenlog schakelbaar. Inclusief licenties, betaalde plugins/thema’s herkenning, onderhouds-takeover en plug-in vervangers. * Author: Pixelsz * Version: 16.7.2…Continue reading

Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading