Skip to content

Commit

Permalink
Merge pull request #2161 from CityOfPhiladelphia/reorganize-wp-dashbo…
Browse files Browse the repository at this point in the history
…ard-navigation

remove publish from service status contributors
  • Loading branch information
m-atia authored Aug 8, 2024
2 parents 293b998 + 7e1ea69 commit c4aa121
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,10 @@ $('a[href="edit-tags.php?taxonomy=category&post_type=calendar"]').parent().css("

}

if ( ( typenow == 'service_updates') && adminpage.indexOf('post') > -1 ){
if (!phila_WP_User.includes('secondary_service_status_contributor') ){
$('#publish').css('display', 'none')
}
}

});

0 comments on commit c4aa121

Please sign in to comment.