diff --git a/activitypub.php b/activitypub.php index e5182d3..e58b885 100644 --- a/activitypub.php +++ b/activitypub.php @@ -89,14 +89,15 @@ function init() { * Add plugin settings link */ function plugin_settings_link( $actions ) { - $settings_link[] = \sprintf( '%2s', - \menu_page_url( 'activitypub', false ), - \__( 'Settings', 'activitypub' ) + $settings_link[] = \sprintf( + '%2s', + \menu_page_url( 'activitypub', false ), + \__( 'Settings', 'activitypub' ) ); - + return \array_merge( $settings_link, $actions ); } -\add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), '\Activitypub\plugin_settings_link' ); +\add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), '\Activitypub\plugin_settings_link' ); /** * Add rewrite rules