Update monero_gateway.php

This commit is contained in:
serhack 2017-08-13 14:37:01 +02:00 committed by GitHub
parent 8a48521e8f
commit 801672ea85

View File

@ -42,3 +42,17 @@ function monero_payment( $links ) {
return array_merge( $plugin_links, $links );
}
add_action( 'admin_menu', 'monero_create_menu' );
function monero_create_menu(){
add_menu_page(
__( 'Monero', 'textdomain' ),
'Monero',
'manage_options',
'admin.php?page=wc-settings&tab=checkout&section=monero_gateway',
'',
plugins_url( 'monero/assets/icon.png' )
);
}