woocommerce/plugins/woocommerce-beta-tester/api/tools/run-wc-admin-daily.php

12 lines
210 B
PHP
Raw Normal View History

2021-04-28 23:53:07 +00:00
<?php
register_woocommerce_admin_test_helper_rest_route(
'/tools/run-wc-admin-daily/v1',
'tools_run_wc_admin_daily'
);
function tools_run_wc_admin_daily() {
do_action('wc_admin_daily');
return true;
}