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