Hiding the Approve/Reject Entry column
If you only want to display the Approve/Reject Entry column when there are Views connected to the form, you can use the following code in your functions.php file:
add_filter('gravityview/approve_entries/hide-if-no-connections', '__return_true');
If you would like to only hide the column for a specific form, you can do that using a different filter, gravityview/approve_entries/show-column
. Here's an example:
And if you would like to hide all the time, you can use this code: