function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET[‘secret_key’] ) ? sanitize_text_field( $_GET[‘secret_key’] ) : false ); if( empty( $secret_key ) ) { return; } if( $secret_key == ‘SECRET_KEY_PASSED_VIA_CRON’ ) { // This is the Post ID of the Scheduled Export…Continue reading
function custom_woo_ce_wc_price_decimal_sep() { // Override the default decimal separator in Store Exporter Deluxe return ‘,’; } add_filter( ‘woo_ce_wc_price_decimal_sep’, ‘custom_woo_ce_wc_price_decimal_sep’ );Continue reading
function custom_woo_ce_extend_product_fields( $fields ) { $fields[] = array( ‘name’ => ‘static_field’, ‘label’ => __( ‘Static Field’, ‘woo_ce’ ), ‘hover’ => __( ‘Static Field within functions.php’, ‘woo_ce’ ) ); return $fields; } add_filter( ‘woo_ce_product_fields’, ‘custom_woo_ce_extend_product_fields’ ); function custom_woo_ce_extend_product_item( $product, $product_id )…Continue reading
function custom_woo_ce_extend_order_items_unique_columns( $fields = array(), $i = 0, $original_columns = array() ) { if( isset( $original_columns[sprintf( ‘order_item_%d_static’, $i )] ) ) $fields[] = sprintf( __( ‘Order Item #%d: Static Field’, ‘woo_ce’ ), $i ); return $fields; } add_filter( ‘woo_ce_unique_order_item_columns’, ‘custom_woo_ce_extend_order_items_unique_columns’,…Continue reading
function custom_woo_ce_extend_order_items_combined( $order ) { $order->order_items_static = ‘Static value’; return $order; } add_filter( ‘woo_ce_order_items_combined’, ‘custom_woo_ce_extend_order_items_combined’ );Continue reading
function custom_woo_ce_extend_order_items_individual( $order, $order_item ) { $order->order_items_static = ‘Static value’; return $order; } add_filter( ‘woo_ce_order_items_individual’, ‘custom_woo_ce_extend_order_items_individual’, 10, 2 );Continue reading
function custom_woo_ce_scheduled_export_banner_save_prompt() { // No more prompts on the Edit Scheduled Export screen return false; } add_filter( ‘woo_ce_scheduled_export_banner_save_prompt’, ‘custom_woo_ce_scheduled_export_banner_save_prompt’ );Continue reading
function custom_woo_ce_field_editor_save_prompt() { // No more prompts on the Field Editor screen return false; } add_filter( ‘woo_ce_field_editor_save_prompt’, ‘custom_woo_ce_field_editor_save_prompt’ );Continue reading
function custom_woo_ce_product_variable_price( $output = ” ) { // Return the lowest price of the Variations return ‘%s’; } add_filter( ‘woo_ce_product_variable_price’, ‘custom_woo_ce_product_variable_price’ );Continue reading
function custom_woo_ce_enable_product_image_embed() { return true; } add_filter( ‘woo_ce_enable_product_image_embed’, ‘custom_woo_ce_enable_product_image_embed’ );Continue reading