#6909
roromano
Participant

Never mind! I figured out an alternative:

add_filter( ‘post_row_actions’, ‘remove_row_actions’, 10, 1 );
function remove_row_actions( $actions )
{
if( get_post_type() === ‘post’ )
unset( $actions[‘republish’] );
return $actions;
}