' . $activello_required_action_value['help'];
endif; ?>
check_active( $activello_required_action_value['plugin_slug'] );
$url = $this->create_action_link( $active['needs'], $activello_required_action_value['plugin_slug'] );
$label = '';
switch ( $active['needs'] ) {
case 'install':
$class = 'install-now button';
$label = __( 'Install', 'activello' );
break;
case 'activate':
$class = 'activate-now button button-primary';
$label = __( 'Activate', 'activello' );
break;
case 'deactivate':
$class = 'deactivate-now button';
$label = __( 'Deactivate', 'activello' );
break;
}
?>
$plugin_opt ) {
if ( ! $plugin_opt['recommended'] ) {
continue;
}
if ( MT_Notify_System::has_import_plugin( $slug ) ) {
continue;
}
if ( 0 == $nr_recommended_plugins ) {
echo '';
if ( ! isset( $activello_show_recommended_plugins[ $slug ] ) || ( isset( $activello_show_recommended_plugins[ $slug ] ) && $activello_show_recommended_plugins[ $slug ] ) ) : ?>
check_active( $slug );
$url = $this->create_action_link( $active['needs'], $slug );
$info = $this->call_plugin_api( $slug );
$label = '';
$class = '';
switch ( $active['needs'] ) {
case 'install':
$class = 'install-now button';
$label = __( 'Install', 'activello' );
break;
case 'activate':
$class = 'activate-now button button-primary';
$label = __( 'Activate', 'activello' );
break;
case 'deactivate':
$class = 'deactivate-now button';
$label = __( 'Deactivate', 'activello' );
break;
}
?>
name ?>
short_description ?>
';
}// End foreach().
endif;
if ( 0 == $nr_recommended_plugins && 0 == $nr_actions_required ) {
echo '
' . __( 'Hooray! There are no required actions for you right now.', 'activello' ) . '';
}
?>