Show target/action in list column
-
An update for the plugin where the target url is visible would be very convenient.
Did a small change for this:
models / pager.php >> L24 – L35
function get_columns(){ $columns = array( 'cb' => '<input type="checkbox" />', //Render a checkbox instead of text 'type' => __( 'Type', 'redirection' ), 'url' => __( 'URL', 'redirection' ), 'target' => __( 'Target', 'redirection' ), 'hits' => __( 'Hits', 'redirection' ), 'last_access' => __( 'Last Access', 'redirection' ), ); return $columns; }
models / pager.php >> L50 – L54 (new function above
column_url()
)function column_target( $item ) { return esc_html( $item->get_action_data() ); }
- The topic ‘Show target/action in list column’ is closed to new replies.