12 lines
210 B
PHP
12 lines
210 B
PHP
|
<?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;
|
||
|
}
|