WC_Install::manual_database_update()
Performan manual database update when triggered by WooCommerce System Tools.
Method of the class: WC_Install{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Install::manual_database_update();
Changelog
Since 3.6.5 | Introduced. |
WC_Install::manual_database_update() WC Install::manual database update code WC 9.4.2
public static function manual_database_update() { $blog_id = get_current_blog_id(); add_action( 'wp_' . $blog_id . '_wc_updater_cron', array( __CLASS__, 'run_manual_database_update' ) ); }