@@ 184-186 (lines=3) @@ | ||
181 | * @param array $actions - Array of plugin action links. |
|
182 | */ |
|
183 | public function remove_activate_dev( $actions ) { |
|
184 | if ( is_plugin_active( JETPACK_PLUGIN_FILE ) || self::is_network_active() ) { |
|
185 | $actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' ); |
|
186 | } |
|
187 | return $actions; |
|
188 | } |
|
189 | ||
@@ 196-198 (lines=3) @@ | ||
193 | * @param array $actions - Array of plugin action links. |
|
194 | */ |
|
195 | public function remove_activate_stable( $actions ) { |
|
196 | if ( is_plugin_active( JETPACK_DEV_PLUGIN_FILE ) || self::is_network_active() ) { |
|
197 | $actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' ); |
|
198 | } |
|
199 | return $actions; |
|
200 | } |
|
201 |