Skip to content

Commit

Permalink
Link to configure widgets, too
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Apr 27, 2020
1 parent 74157aa commit 9242557
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/WidgetContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ public function plugin_action_links( $links ) {
esc_html__( 'Settings', 'widget-context' )
);

$links[] = sprintf(
'<a href="%s">%s</a>',
esc_url( $this->customize_widgets_admin_url() ),
esc_html__( 'Configure Widgets', 'widget-context' )
);

if ( $this->pro_nag_enabled() ) {
$links[] = sprintf(
'<a href="%s" target="_blank">PRO 🚀</a>',
Expand Down

0 comments on commit 9242557

Please sign in to comment.