How to only display the inline edit icons on hover?

By default Admin Columns will display an edit icon on each column value that’s been made editable.

If you like to hide these icons, and only want them visible when you hover over the actual value, you can use the code snippet below.


Place the following code in your functions.php.

 * Only display editable actions on hover
function my_only_display_editable_actions_on_hover() { ?>
	<style type="text/css">
		.cacie-editable-container .cacie-cell-actions { display: none !important; }
		.cacie-editable-container:hover .cacie-cell-actions { display: block !important; }
	</style> <?php
add_action( 'admin_head', 'my_only_display_editable_actions_on_hover' );