mirror of
https://git.wownero.com/wownero/wownerowp.git
synced 2024-08-15 01:03:16 +00:00
Update monero_gateway.php
This commit is contained in:
parent
8a48521e8f
commit
801672ea85
1 changed files with 14 additions and 0 deletions
|
@ -42,3 +42,17 @@ function monero_payment( $links ) {
|
||||||
|
|
||||||
return array_merge( $plugin_links, $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§ion=monero_gateway',
|
||||||
|
'',
|
||||||
|
plugins_url( 'monero/assets/icon.png' )
|
||||||
|
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue