Remove "Generate API Key" from User Profile
-
I added the following snippet into functions.php, and it didn’t remove the “Generate API Key” from User Profile.
remove_action( 'show_user_profile', array( 'AfterShip', 'add_api_key_field' ), 10, 1 ); remove_action( 'edit_user_profile', array( 'AfterShip', 'add_api_key_field' ), 10, 1 );
How do I go about it?
Please advise. Thank you.
https://wordpress.org/plugins/aftership-woocommerce-tracking/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove "Generate API Key" from User Profile’ is closed to new replies.