//Removing extra fields from profile page. User description, outlet, address, url
function remove_website_row_wpse(){
echo '<style>tr.user-url-wrap{ display: none; }</style>';
echo '<style>tr.user-description-wrap{ display: none; }</style>';
echo '<style>tr.OutletName{ display: none; }</style>';
echo '<style>tr.Address{ display: none; }</style>';
}
add_action( 'admin_head-user-edit.php', 'remove_website_row_wpse' );
add_action( 'admin_head-profile.php', 'remove_website_row_wpse' );
Tuesday, 2 May 2023
Removing extra fields from profile page. User description, outlet, address, url
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment