add_filter( 'post_row_actions', 'tab_row_actions', 10, 2 ); function tab_row_actions( $actions, $post ) { //echo '<pre>'; print_r( $actions ); echo '</pre>'; // it won't save correctly... $edit_tag = "<a target='_blank' rel="noopener noreferrer"> $post->ID, 'action' => 'edit'), $link); $edit_tag .= "'>Edit</a>"; $actions['edit'] = $edit_tag; return $actions; }
Open “edit” post link in a new tab
This post brought to you by RocketGeek, ButlerBlog, and the following: