woocommerce/plugin.php

17 lines
344 B
PHP
Raw Normal View History

2021-02-23 05:30:49 +00:00
<?php
add_action( 'admin_menu', function() {
add_management_page(
'WooCommerce Admin Test Helper',
'WCA Test Helper',
'install_plugins',
'woocommerce-admin-test-helper',
function() {
2021-02-23 06:28:11 +00:00
?><div id="woocommerce-admin-test-helper-app-root"></div><?php
2021-02-23 05:30:49 +00:00
}
);
} );
2021-03-01 03:57:53 +00:00
add_action( 'wp_loaded', function() {
require( 'api/api.php' );
} );