What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-27 13:55:07
if order has product id in array
function get_order_ids_from_bought_items( $product_ids = 0, $customer_id = 0 ) { global $wpdb; $customer_id = $customer_id == 0 || $customer_id == '' ? get_current_user_id() : $customer_id; $statuses = array_map( 'esc_sql', wc_get_is_paid_... Add solution -
Shell/Bash 2022-02-09 20:20:20
dialog shell script example
#!/bin/bash # while-menu-dialog: a menu driven system information program DIALOG_CANCEL=1 DIALOG_ESC=255 HEIGHT=0 WIDTH=0 display_result() { dialog --title "$1" \ --no-collapse \ --msgbox "$result" 0 0 } while true; do ... Add solution -
C 2022-01-29 10:36:54
RTOS task status
/* This example demonstrates how a human readable table of run time stats information is generated from raw data provided by uxTaskGetSystemState(). The human readable table is written to pcWriteBuffer. (see the vTaskList() API function which actually do... Add solution -
C# 2021-10-04 22:50:05
export TFS with attachments
private static void ExportVso() { // Connection to the Team Project Collection TfsTeamProjectCollection tpc = TfsTeamProjectCollectionFactory.GetTeamProjectCollection( new Uri("https://http://idahopower... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5