Created
October 16, 2019 04:17
-
-
Save saimonh3/8e6469663b72ab17b65bf2bf747ba8a1 to your computer and use it in GitHub Desktop.
dokan-upgrade-2.9.21.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Update post_author id for shop_orders | |
* | |
* @since 2.9.4 | |
* | |
* @return void | |
*/ | |
function dokan_update_variation_product_vendor() { | |
$processor_file = DOKAN_INC_DIR . '/upgrades/background-processes/class_dokan_update_2_9_21_variation_product_vendor.php'; | |
include_once $processor_file; | |
$processor = new Dokan_Update_2_9_21_Variation_Product_Vendor(); | |
$args = array( | |
'updating' => 'update_vendor', | |
'paged' => 0 | |
); | |
$processor->push_to_queue( $args )->dispatch_process( $processor_file ); | |
} | |
dokan_update_variation_product_vendor(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment