We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2adff59 + 0fcc055 commit 0d28633Copy full SHA for 0d28633
activitypub.php
@@ -85,6 +85,20 @@ function() {
85
}
86
\add_action( 'plugins_loaded', '\Activitypub\init' );
87
88
+/**
89
+ * Add plugin settings link
90
+ */
91
+function plugin_settings_link( $actions ) {
92
+ $settings_link[] = \sprintf(
93
+ '<a href="%1s">%2s</a>',
94
+ \menu_page_url( 'activitypub', false ),
95
+ \__( 'Settings', 'activitypub' )
96
+ );
97
+
98
+ return \array_merge( $settings_link, $actions );
99
+}
100
+\add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), '\Activitypub\plugin_settings_link' );
101
102
/**
103
* Add rewrite rules
104
*/
0 commit comments