Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'woocommerce_account_menu_items', function( $items ) {
- if ( isset( $items['subscriptions'] ) ) {
- $items['subscriptions'] = 'My new menu item label';
- }
- return $items;
- }, 11 );
Add Comment
Please, Sign In to add comment