|
@@ 174-176 (lines=3) @@
|
| 171 |
|
* @param array $actions - Array of plugin action links. |
| 172 |
|
*/ |
| 173 |
|
public function remove_activate_dev( $actions ) { |
| 174 |
|
if ( is_plugin_active( JETPACK_PLUGIN_FILE ) || Utils::is_network_active() ) { |
| 175 |
|
$actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' ); |
| 176 |
|
} |
| 177 |
|
return $actions; |
| 178 |
|
} |
| 179 |
|
|
|
@@ 186-188 (lines=3) @@
|
| 183 |
|
* @param array $actions - Array of plugin action links. |
| 184 |
|
*/ |
| 185 |
|
public function remove_activate_stable( $actions ) { |
| 186 |
|
if ( is_plugin_active( JETPACK_DEV_PLUGIN_FILE ) || Utils::is_network_active() ) { |
| 187 |
|
$actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' ); |
| 188 |
|
} |
| 189 |
|
return $actions; |
| 190 |
|
} |
| 191 |
|
|