'' . esc_html__( 'Configuration', 'echo-knowledge-base' ) . '',
__( 'Support', 'echo-knowledge-base' ) => '' . esc_html__( 'Support', 'echo-knowledge-base' ) . ''
);
return array_merge( $my_links, $links );
}
add_filter( 'plugin_action_links_' . plugin_basename( Echo_Knowledge_Base::$plugin_file ), 'epkb_add_plugin_action_links', 10, 2 );
/**
* Add info about plugin on the Plugins page displayed on the right.
*
* @param $links
* @param $file
* @return array
*/
function epkb_add_plugin_row_meta( $links, $file ) {
if ( $file != 'echo-knowledge-base/echo-knowledge-base.php' ) {
return $links;
}
$links[] = '' . esc_html__( 'Dashboard', 'echo-knowledge-base' ) . '';
return $links;
}
add_filter( 'plugin_row_meta', 'epkb_add_plugin_row_meta', 10, 2 );